def dump_gap(self, data): if len(data) > 0: try: gap = GAP() gap.decode(data) print "GAP: %s" % gap except Exception as e: print e pass
def dump_gap(data): if len(data) > 0: try: gap = GAP() gap.decode(data) info("GAP: %s" % gap) except Exception as e: err(repr(e)) pass