X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=c1be6b9014950f2ec798f09ee14b3aaac9599944;hb=bdd7905be0797eb2bb9bf8818639eb1349c756e1;hp=6135a19f6f8bdf303d4978f7ce06868f9eef9c4a;hpb=dade1d4e91245074ff31a9c8e79fb2ea5b942c51;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 6135a19f..c1be6b90 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -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) ################################################################################