summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-27 10:50:33 (GMT)
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-27 10:50:33 (GMT)
commita001ab9486fee3db5f32e340d0c923d37a9b77d4 (patch)
tree3176c45d17cd0008b605d476bdc3fc1a06d3cae8
parent5a0af0d439e1dd21d3ce2e755355f6d7d7edc622 (diff)
downloadmorph-a001ab9486fee3db5f32e340d0c923d37a9b77d4.tar.gz
Keep hunting
Change-Id: Ib7332a7e4848c7eb8ad5f602653d744632f37acc
-rw-r--r--distbuild/mainloop.py1
-rw-r--r--distbuild/worker_build_scheduler.py8
2 files changed, 5 insertions, 4 deletions
diff --git a/distbuild/mainloop.py b/distbuild/mainloop.py
index e7c0cc3..065f600 100644
--- a/distbuild/mainloop.py
+++ b/distbuild/mainloop.py
@@ -104,6 +104,7 @@ class MainLoop(object):
for event_source, event in self._dequeue_events():
for machine in self._machines[:]:
+ logging.debug('SOTK-DEBUGS: %s' % machine)
for new_event in machine.handle_event(event_source, event):
self.queue_event(event_source, new_event)
if machine.state is None:
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
index be87d86..4b91bb6 100644
--- a/distbuild/worker_build_scheduler.py
+++ b/distbuild/worker_build_scheduler.py
@@ -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