# ring time makes them happy.
inter_symbol_distance = ring_time_max
else:
- inter_symbol_distance = 0
+ inter_symbol_distance = 0.0
self.modulator = MorseDistanceModulator(call_setup_time_min,
call_setup_time_max,
def __init__(self):
self.ring_count = 0
- # Take trasmission times from a transceiver
+ # A transceiver will be used to get the symbol distance to fake in
+ # get_response, but it will only be assigned _after_ DummyModem has
+ # been instantiated.
+ #
+ # This placeholder here avoids an attribute-defined-outside-init
+ # warning from pylint.
self.transceiver = None
random.seed(None)