From: Michael Tremer Date: Wed, 3 May 2023 17:05:54 +0000 (+0000) Subject: builds: Actually call the finished handler X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2703bd06c33ff227c8720cb3bba44c1c5206d22a;p=pbs.git builds: Actually call the finished handler Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/builds.py b/src/buildservice/builds.py index 1e028010..c2190a8f 100644 --- a/src/buildservice/builds.py +++ b/src/buildservice/builds.py @@ -524,7 +524,7 @@ class Build(base.DataObject): await self._update_repos() # If all jobs have finished, the build has finished - elif all((j.has_finished() for j in self.jobs)): + if all((j.has_finished() for j in self.jobs)): return await self.finished(success=True) # If there are any failed jobs, the build has failed