From 55451e94c710319d4c33120c41c6e3a0edfc60f1 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 16 Sep 2012 18:03:48 +0200 Subject: [PATCH] sod off, None. also, group= is helpful there Signed-off-by: Joerg Jaspert --- daklib/archive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5