From: Michael Tremer Date: Wed, 25 Oct 2017 17:18:04 +0000 (+0100) Subject: uploads: Fix iterating through all uploads X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b73c5dbc594bbeaccda6951192af9599acc67cd;p=pbs.git uploads: Fix iterating through all uploads Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/uploads.py b/src/buildservice/uploads.py index 7c43aa54..24d05ce8 100644 --- a/src/buildservice/uploads.py +++ b/src/buildservice/uploads.py @@ -66,7 +66,7 @@ class Uploads(base.Object): return upload def cleanup(self): - for upload in self.get_all(): + for upload in self: upload.cleanup()