예제 #1
0
 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
예제 #2
0
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
예제 #3
0
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