""" An abstract class that represents a connection """
for conn in [bc() for bc in CONNS]:
print "Found %s base" % (conn.NAME ,)
+ " % conn.NAME)
print "Failed to find a base"
# Added to and untwistedized and fixed up by Kyle Machulis <email@example.com>
-import struct, array, time
+import struct, array, time
from message import MessageIN, MessageOUT
# FitBit device initialization
print "Waiting for beacon"
msg = self._receive_message()
raise FitBitBeaconTimeout("Timeout waiting for beacon, will restart")