[PATCH 2/5] init: add missing newline to GitError exit message

1 view
Skip to first unread message

Rob Browning

unread,
Jul 1, 2026, 5:45:12 PM (3 days ago) Jul 1
to bup-...@googlegroups.com
Signed-off-by: Rob Browning <r...@defaultvalue.org>
Tested-by: Rob Browning <r...@defaultvalue.org>
---
lib/bup/cmd/init.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bup/cmd/init.py b/lib/bup/cmd/init.py
index 8315546d..5f9c0df2 100644
--- a/lib/bup/cmd/init.py
+++ b/lib/bup/cmd/init.py
@@ -28,6 +28,6 @@ def main(argv):
try:
with repo_for_location(loc, create=True): pass
except git.GitError as ex:
- log(f'bup: error: could not init repository: {ex}')
+ log(f'error: could not init repository: {ex}\n')
return EXIT_FAILURE
return 0
--
2.47.3

Reply all
Reply to author
Forward
0 new messages