def get_agt_anno(self, p): kwargs = Agent.get_agt_anno(self, p) if not isinstance(p, AGT): return kwargs if p.hasanno("dot11n-sinr"): kwargs["sinr"] = p.getanno("dot11n-sinr") return kwargs
def get_agt_anno(self, p): kwargs = Agent.get_agt_anno(self, p) if not isinstance(p, AGT): return kwargs if p.hasanno('dot11n-sinr'): kwargs['sinr'] = p.getanno('dot11n-sinr') return kwargs