mirror of
https://github.com/borgbackup/borg.git
synced 2024-11-05 03:25:19 +03:00
manual formatting fixes (cosmetic / pep8)
This commit is contained in:
parent
cbeef56454
commit
fade3c4799
@ -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:
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user