summaryrefslogtreecommitdiff
path: root/distbuild
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-23 15:00:48 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-04-23 16:32:36 (GMT)
commit5139c0af22495f44272d20b9a78132f12d5a9a1f (patch)
treed704f29d2ffe7abdf78a593df8fa854da3e976ef /distbuild
parent00e24f24bda5355823bcbf520616aad6482dfa2e (diff)
downloadmorph-5139c0af22495f44272d20b9a78132f12d5a9a1f.tar.gz
Change event names back
The name change from BuildFailed -> JobFailed etc was unintentionally merged into master, undo this.
Diffstat (limited to 'distbuild')
-rw-r--r--distbuild/worker_build_scheduler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py
index 4df728b..041cc0e 100644
--- a/distbuild/worker_build_scheduler.py
+++ b/distbuild/worker_build_scheduler.py
@@ -315,14 +315,14 @@ class WorkerConnection(distbuild.StateMachine):
('building', self._jm, distbuild.JsonEof, None, self._reconnect),
('building', self._jm, distbuild.JsonNewMessage, 'building',
self._handle_json_message),
- ('building', self, _JobFailed, 'idle', self._request_job),
- ('building', self, _JobIsFinished, 'caching',
+ ('building', self, _BuildFailed, 'idle', self._request_job),
+ ('building', self, _BuildFinished, 'caching',
self._request_caching),
('caching', distbuild.HelperRouter, distbuild.HelperResult,
'caching', self._maybe_handle_helper_result),
('caching', self, _Cached, 'idle', self._request_job),
- ('caching', self, _JobFailed, 'idle', self._request_job),
+ ('caching', self, _BuildFailed, 'idle', self._request_job),
]
self.add_transitions(spec)