From: Michael Tremer Date: Tue, 31 Oct 2017 17:47:04 +0000 (+0000) Subject: hub: Don't try to delete files in delete queue X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d96aa39a1e3b1cb6bb0a8d705d94d3ec0764cbb;p=pbs.git hub: Don't try to delete files in delete queue This is done by an independent cleanup job Signed-off-by: Michael Tremer --- diff --git a/src/hub/handlers.py b/src/hub/handlers.py index 77b0136f..05b204f7 100644 --- a/src/hub/handlers.py +++ b/src/hub/handlers.py @@ -600,9 +600,6 @@ class BuildersJobsAddFileHandler(BuildersBaseHandler): if not upload.builder == self.builder: raise tornado.web.HTTPError(403, "Using an other host's file.") - # Remove all files that have to be deleted, first. - self.backend.cleanup_files() - try: job.add_file(upload.path)