From ca06e2438af8f3478088496b47906d3a1a2a0540 Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Mon, 9 Mar 2020 07:42:49 +0100 Subject: [PATCH] minor hexdump UI fix --- over/misc.py | 4 ++-- over/version.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/over/misc.py b/over/misc.py index 0f3e4cc..639b977 100644 --- a/over/misc.py +++ b/over/misc.py @@ -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) diff --git a/over/version.py b/over/version.py index d68c168..44ca5cf 100644 --- a/over/version.py +++ b/over/version.py @@ -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