fix human readable output again

*tch* silly me. The human readable output was outputting only the first 4
56-bit values from each group of 5 in the key.
This commit is contained in:
Rich Wareham
2010-09-17 13:35:31 +01:00
parent 663a67b5aa
commit 95dd783753

View File

@@ -217,7 +217,7 @@ def output_human_readable(ksv, key, is_sink):
print('\n%s Key:' % ('Sink' if is_sink else 'Source'))
for idx in range(0, 40, 5):
print(string.join(key_strs[idx:idx+4], ' '))
print(string.join(key_strs[idx:idx+5], ' '))
def output_json(ksv, key, is_sink):
"""Print a JSON version of the KSV and key.