Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- papa.py 2018-10-22 12:28:06.382462443 +0200
- +++ _papa.py 2018-10-23 14:38:27.556915731 +0200
- @@ -36,11 +36,11 @@
- }
- if len(list) not in cmds:
- return 'Failed to parse number from {}'.format(' '.join(list))
- return cmds[len(list)](list)
- def print_weird_6byte_int(l):
- - return '{} {}'.format(' '.join(l[:2]), print_u32(list(reversed(l[2:]))))
- + return '{}'.format(print_u32(list(reversed(l[2:]))))
- def print_nested_tlvset(list):
- out = os.linesep
- tlvs = parse_tlvs(list)
- for tlv in tlvs:
- out += (' {}{}'.format(str(tlv), os.linesep))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement