From: Mike O'Connor Date: Fri, 13 Mar 2009 15:15:28 +0000 (-0400) Subject: fix utils.temp_directory X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=dfddcddd89c19a2077ca11198e460c2de8d90fb9;p=dak.git fix utils.temp_directory Signed-off-by: Mike O'Connor --- 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) ################################################################################