def __init__(self, *a, **k): Super.__init__(self, *a, **k) self.members = {} self.partner_scenario = 'Initial' self.CONNECTED = False self.abId = uuid.UUID(int=0)
def __init__(self, *a, **k): Super.__init__(self, *a, **k) self.members = {} self.partner_scenario = "Initial" self.CONNECTED = False self.abId = uuid.UUID(int=0)
def recv_rng(self, msg): log.info('Got a RNG from %s', msg.args[3]) msg.args = msg.args[:5] return Super.recv_rng(self, msg)
def send_blp(self, value): assert value in ('AL', 'BL') bool = 'AL' == value self._set_persist_blp(bool) Super.send_blp(self, value)
def recv_rng(self, msg): log.info("Got a RNG from %s", msg.args[3]) msg.args = msg.args[:5] return Super.recv_rng(self, msg)
def send_blp(self, value): assert value in ("AL", "BL") bool = "AL" == value self._set_persist_blp(bool) Super.send_blp(self, value)