From 7b78e37eae3d9a570175ca6c824a3af6c0802b83 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 9 Apr 2014 12:28:14 +0000 Subject: distbuild: Label state machine transition tables Makes it easier to see what they mean at a glance. --- distbuild/connection_machine.py | 1 + 1 file changed, 1 insertion(+) (limited to 'distbuild/connection_machine.py') 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), -- cgit v1.2.1