diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-04-23 16:03:07 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-04-23 17:32:36 +0100 |
commit | 8e77bfa5763bd0cc8a0789cb1dd2610ab5d013fd (patch) | |
tree | 46e820f0fbf4d453c1f6c4934515e2f20f1b8c46 /distbuild | |
parent | 5139c0af22495f44272d20b9a78132f12d5a9a1f (diff) | |
download | morph-8e77bfa5763bd0cc8a0789cb1dd2610ab5d013fd.tar.gz |
Remove cancel
This method no longer works, we will replace it soon.
Diffstat (limited to 'distbuild')
-rw-r--r-- | distbuild/worker_build_scheduler.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/distbuild/worker_build_scheduler.py b/distbuild/worker_build_scheduler.py index 041cc0e9..d8b1ae93 100644 --- a/distbuild/worker_build_scheduler.py +++ b/distbuild/worker_build_scheduler.py @@ -331,13 +331,8 @@ class WorkerConnection(distbuild.StateMachine): def _maybe_cancel(self, event_source, build_cancel): logging.debug('WC: BuildController %r requested a cancel' % event_source) - if build_cancel.id == self._initiator_id: - distbuild.crash_point() - for id in self._initiator_request_map[self._initiator_id]: - logging.debug('WC: Cancelling exec %s' % id) - msg = distbuild.message('exec-cancel', id=id) - self._jm.send(msg) + # TODO: implement cancel def _reconnect(self, event_source, event): distbuild.crash_point() |