diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-04-09 12:28:14 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-04-14 11:19:06 +0300 |
commit | 7b78e37eae3d9a570175ca6c824a3af6c0802b83 (patch) | |
tree | d75c3ee1ebed1f57c4951052fcb0f49bd0f32cb1 /distbuild/connection_machine.py | |
parent | 13dfedfe5c3a6e29c9dc7fd8a2aa4a701c5a5ff5 (diff) | |
download | morph-7b78e37eae3d9a570175ca6c824a3af6c0802b83.tar.gz |
distbuild: Label state machine transition tables
Makes it easier to see what they mean at a glance.
Diffstat (limited to 'distbuild/connection_machine.py')
-rw-r--r-- | distbuild/connection_machine.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/distbuild/connection_machine.py b/distbuild/connection_machine.py index 2f768f0b..648ce35a 100644 --- a/distbuild/connection_machine.py +++ b/distbuild/connection_machine.py @@ -81,6 +81,7 @@ class ConnectionMachine(distbuild.StateMachine): self.mainloop.add_event_source(self._timer) spec = [ + # state, source, event_class, new_state, callback ('connecting', self._sock_proxy, distbuild.SocketWriteable, 'connected', self._connect), ('connecting', self, StopConnecting, None, self._stop), |