This commit is contained in:
Cort Buffington 2016-12-04 14:36:05 -06:00
parent 1f24215534
commit 27fac0ba45

View File

@ -19,7 +19,7 @@
############################################################################### ###############################################################################
from __future__ import print_function from __future__ import print_function
from bitarray import bitarray
from binascii import b2a_hex as ahex from binascii import b2a_hex as ahex
# Does anybody read this stuff? There's a PEP somewhere that says I should do this. # Does anybody read this stuff? There's a PEP somewhere that says I should do this.
@ -253,6 +253,8 @@ def encode_2087(_data):
if __name__ == '__main__': if __name__ == '__main__':
from time import time
# For testing the code # For testing the code
def print_hex(_list): def print_hex(_list):
print('[{}]'.format(', '.join(hex(x) for x in _list))) print('[{}]'.format(', '.join(hex(x) for x in _list)))