builder: add missing 'yield from' coroutine

This commit is contained in:
Jimmy Zelinskie 2015-06-17 14:11:51 -04:00
parent 59aba93514
commit 177b96e965

View file

@ -419,7 +419,9 @@ class BuildComponent(BaseComponent):
self._build_status.set_error('Build worker timed out', internal_error=True,
requeued=self._current_job.has_retries_remaining())
self.parent_manager.job_completed(self._current_job, BuildJobResult.INCOMPLETE, self)
yield trollius.From(self.parent_manager.job_completed(self._current_job,
BuildJobResult.INCOMPLETE,
self))
self._build_status = None
self._current_job = None