]> git.decadent.org.uk Git - dak.git/commitdiff
fix utils.temp_directory
authorMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 15:15:28 +0000 (11:15 -0400)
committerMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 15:15:28 +0000 (11:15 -0400)
Signed-off-by: Mike O'Connor <stew@vireo.org>
daklib/utils.py

index 6135a19f6f8bdf303d4978f7ce06868f9eef9c4a..c1be6b9014950f2ec798f09ee14b3aaac9599944 100755 (executable)
@@ -1494,7 +1494,7 @@ def temp_dirname(parent=None, prefix="dak", suffix=""):
     Returns a pathname to the new directory
     """
 
-    return tempfile.mkdtemp(suffix, prefix, directory)
+    return tempfile.mkdtemp(suffix, prefix, parent)
 
 ################################################################################