X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=8a160356f721f0ded72533d5dfed40207fb41c77;hb=e571c7b55a0fb16fa23c27c13346db30edf2f444;hp=25d768d10f9fb442e6497190c9e2249a80d4e527;hpb=9467ca5e3f58cd2a9e4006d67f16839cb0dd08b7;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 25d768d1..8a160356 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1497,12 +1497,12 @@ def temp_dirname(parent=None, prefix="dak", suffix="", mode=None, group=None): """ - (tfd, tfname) = tempfile.mkdtemp(suffix, prefix, parent) + tfname = tempfile.mkdtemp(suffix, prefix, parent) if mode: os.chmod(tfname, mode) if group: os.chown(tfname, -1, group) - return (tfd, tfname) + return tfname ################################################################################