summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-26 17:09:20 (GMT)
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-26 17:09:20 (GMT)
commit5a0af0d439e1dd21d3ce2e755355f6d7d7edc622 (patch)
treee3e8945a1b615f4a9576ff8a4f6f8f7bd90805fc
parent9daf6e77606682a1d470fee941ba5e8ad39eb7f6 (diff)
downloadmorph-5a0af0d439e1dd21d3ce2e755355f6d7d7edc622.tar.gz
NO
Change-Id: I2c92ff5040779e3a14daba811333291cb7c2cfec
-rw-r--r--distbuild/worker_build_scheduler.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
index c9cbe35..be87d86 100644
--- a/distbuild/worker_build_scheduler.py
+++ b/distbuild/worker_build_scheduler.py
@@ -632,7 +632,7 @@ class WorkerConnection(distbuild.StateMachine):
self.mainloop.queue_event(WorkerConnection, progress)
def _maybe_handle_helper_result(self, event_source, event):
- job = event.job
+ job = self._current_job
if event.msg['id'] == self._current_job_cache_request:
distbuild.crash_point()
@@ -665,8 +665,8 @@ class WorkerConnection(distbuild.StateMachine):
self.mainloop.queue_event(self, _BuildFailed())
- self.mainloop.queue_event(WorkerConnection,
- _JobFinished(job))
+ self.mainloop.queue_event(WorkerConnection,
+ _JobFinished(job))
- self._current_job_exec_response = None
- self._current_job_cache_request = None
+ self._current_job_exec_response = None
+ self._current_job_cache_request = None