]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_upload.py
Holding isn't a queue either, it's a tmpdir
[dak.git] / dak / process_upload.py
index 84186c57186a792a7a3e66bd59fd3d864474f05f..bf74baa65be064e356abaa8459b39a6688c85ad9 100755 (executable)
@@ -364,7 +364,7 @@ def process_it(changes_file, session):
         # If this is the Real Thing(tm), copy things into a private
         # holding directory first to avoid replacable file races.
         if not Options["No-Action"]:
-            os.chdir(cnf["Dir::Queue::Holding"])
+            holding.chdir_to_holding()
 
             # Absolutize the filename to avoid the requirement of being in the
             # same directory as the .changes file.