def _task_exit_handler(self, task):
if self._default_exit(task) != os.EX_OK:
- pass
+ self.wait()
elif self._task_queue:
self._start_next_task()
else:
def _build_exit(self, build):
if self._default_exit(build) != os.EX_OK:
self._unlock_builddir()
+ self.wait()
return
opts = self.opts
def _clean_phase_exit(self, clean_phase):
if self._default_exit(clean_phase) != os.EX_OK:
+ self.wait()
return
pkg = self.pkg
self.wait()
return
elif self._default_exit(fetcher) != os.EX_OK:
+ self.wait()
return
verifier = None
def _verifier_exit(self, verifier):
if verifier is not None and \
self._default_exit(verifier) != os.EX_OK:
- return
+ self.wait()
+ return
logger = self.logger
pkg = self.pkg
def _clean_exit(self, clean_phase):
if self._default_exit(clean_phase) != os.EX_OK:
self._unlock_builddir()
+ self.wait()
return
dir_path = self._build_dir.dir_path
def _setup_exit(self, setup_phase):
if self._default_exit(setup_phase) != os.EX_OK:
self._unlock_builddir()
+ self.wait()
return
extractor = BinpkgExtractorAsync(background=self.background,