minor hexdump UI fix
This commit is contained in:
parent
0f1d72149e
commit
ca06e2438a
2 changed files with 4 additions and 4 deletions
|
@ -181,7 +181,7 @@ def hexdump(data, indent=0, width=16, show_header=True, show_offsets=True, show_
|
|||
skip_cnt += 1
|
||||
else:
|
||||
if skip_cnt:
|
||||
output_io.write("(skipped %d lines, %d B)\n" %(skip_cnt, skip_cnt * width))
|
||||
output_io.write("%s > skipping %d identical lines, %d B\n" %(" "*offset_figures, skip_cnt, skip_cnt * width))
|
||||
|
||||
skip_cnt = 0
|
||||
|
||||
|
@ -208,7 +208,7 @@ def hexdump(data, indent=0, width=16, show_header=True, show_offsets=True, show_
|
|||
output_io.write("\n")
|
||||
|
||||
if skip_cnt:
|
||||
output_io.write("(skipped %d lines, %d B)\n" %(skip_cnt, skip_cnt * width))
|
||||
output_io.write("%s > skipping %d identical lines, %d B\n" %(" "*offset_figures, skip_cnt, skip_cnt * width))
|
||||
|
||||
if not output:
|
||||
output_io.seek(0)
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
major = 2 # VERSION_MAJOR_IDENTIFIER
|
||||
minor = 1 # VERSION_MINOR_IDENTIFIER
|
||||
# VERSION_LAST_MM 2.1
|
||||
patch = 6 # VERSION_PATCH_IDENTIFIER
|
||||
str = "2.1.6" # VERSION_STRING_IDENTIFIER
|
||||
patch = 7 # VERSION_PATCH_IDENTIFIER
|
||||
str = "2.1.7" # VERSION_STRING_IDENTIFIER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue