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)