[dak/master] fix utils.temp_directory
Signed-off-by: Mike O'Connor <stew@vireo.org>
---
daklib/utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daklib/utils.py b/daklib/utils.py
index 6135a19..c1be6b9 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)
################################################################################
--
1.5.6.5
Reply to: