diff --git a/src/borg/archiver.py b/src/borg/archiver.py index be2b4c5c4..ebe63a16e 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -2060,7 +2060,7 @@ class Archiver: before = data[offset - context:offset] after = data[offset + len(wanted):offset + len(wanted) + context] print('{}: {} {} {} == {!r} {!r} {!r}'.format(info, before.hex(), wanted.hex(), after.hex(), - before, wanted, after)) + before, wanted, after)) wanted = args.wanted try: diff --git a/src/borg/helpers/parseformat.py b/src/borg/helpers/parseformat.py index ebbc7b526..ee32abd73 100644 --- a/src/borg/helpers/parseformat.py +++ b/src/borg/helpers/parseformat.py @@ -948,7 +948,7 @@ def ellipsis_truncate(msg, space): return '...' + ' ' * (space - ellipsis_width) if space < ellipsis_width + msg_width: return '{}...{}'.format(swidth_slice(msg, space // 2 - ellipsis_width), - swidth_slice(msg, -space // 2)) + swidth_slice(msg, -space // 2)) return msg + ' ' * (space - msg_width)