From: Joerg Jaspert Date: Sun, 16 Sep 2012 16:03:48 +0000 (+0200) Subject: sod off, None. also, group= is helpful there X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55451e94c710319d4c33120c41c6e3a0edfc60f1;p=dak sod off, None. also, group= is helpful there Signed-off-by: Joerg Jaspert --- diff --git a/daklib/archive.py b/daklib/archive.py index dcdcc8e1..6562c67c 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -623,8 +623,8 @@ class ArchiveUpload(object): cnf = Config() session = self.transaction.session - (None, self.directory) = utils.temp_dirname(parent=cnf.get('Dir::TempPath'), - mode=0o2750, cnf.unprivgroup) + self.directory = utils.temp_dirname(parent=cnf.get('Dir::TempPath'), + mode=0o2750, group=cnf.unprivgroup)[1] with FilesystemTransaction() as fs: src = os.path.join(self.original_directory, self.original_changes.filename) dst = os.path.join(self.directory, self.original_changes.filename)