238
240
os.chown(attachment_dir, uid, gid)
241
243
filename, uid, gid, path, env, time_limit)
243
self._remove_script, filename, attachment_dir, old_umask)
248
def _remove_script(self, result, filename, attachment_dir, old_umask):
246
return result.addBoth(self._cleanup, filename, env, old_umask)
248
def _cleanup(self, result, filename, env, old_umask):