diff options
Diffstat (limited to 'subcmds/abandon.py')
-rw-r--r-- | subcmds/abandon.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subcmds/abandon.py b/subcmds/abandon.py index cd1d0c40..ba4ef099 100644 --- a/subcmds/abandon.py +++ b/subcmds/abandon.py | |||
@@ -79,10 +79,10 @@ It is equivalent to "git branch -D <branchname>". | |||
79 | 79 | ||
80 | if err: | 80 | if err: |
81 | for br in err.keys(): | 81 | for br in err.keys(): |
82 | err_msg = "error: cannot abandon %s" %br | 82 | err_msg = "error: cannot abandon %s" % br |
83 | print(err_msg, file=sys.stderr) | 83 | print(err_msg, file=sys.stderr) |
84 | for proj in err[br]: | 84 | for proj in err[br]: |
85 | print(' '*len(err_msg) + " | %s" % proj.relpath, file=sys.stderr) | 85 | print(' ' * len(err_msg) + " | %s" % proj.relpath, file=sys.stderr) |
86 | sys.exit(1) | 86 | sys.exit(1) |
87 | elif not success: | 87 | elif not success: |
88 | print('error: no project has local branch(es) : %s' % nb, | 88 | print('error: no project has local branch(es) : %s' % nb, |
@@ -95,5 +95,5 @@ It is equivalent to "git branch -D <branchname>". | |||
95 | result = "all project" | 95 | result = "all project" |
96 | else: | 96 | else: |
97 | result = "%s" % ( | 97 | result = "%s" % ( |
98 | ('\n'+' '*width + '| ').join(p.relpath for p in success[br])) | 98 | ('\n' + ' ' * width + '| ').join(p.relpath for p in success[br])) |
99 | print("%s%s| %s\n" % (br,' '*(width-len(br)), result),file=sys.stderr) | 99 | print("%s%s| %s\n" % (br, ' ' * (width - len(br)), result), file=sys.stderr) |