diff options
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/abandon.py | 2 | ||||
-rw-r--r-- | subcmds/gitc_delete.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/subcmds/abandon.py b/subcmds/abandon.py index 6f78da74..be32dc5c 100644 --- a/subcmds/abandon.py +++ b/subcmds/abandon.py | |||
@@ -81,7 +81,7 @@ It is equivalent to "git branch -D <branchname>". | |||
81 | err_msg = "error: cannot abandon %s" %br | 81 | err_msg = "error: cannot abandon %s" %br |
82 | print(err_msg, file=sys.stderr) | 82 | print(err_msg, file=sys.stderr) |
83 | for proj in err[br]: | 83 | for proj in err[br]: |
84 | print(' '*len(err_msg) + " | %s" % p.relpath, file=sys.stderr) | 84 | print(' '*len(err_msg) + " | %s" % proj.relpath, file=sys.stderr) |
85 | sys.exit(1) | 85 | sys.exit(1) |
86 | elif not success: | 86 | elif not success: |
87 | print('error: no project has local branch(es) : %s' % nb, | 87 | print('error: no project has local branch(es) : %s' % nb, |
diff --git a/subcmds/gitc_delete.py b/subcmds/gitc_delete.py index 7380c352..19caac5a 100644 --- a/subcmds/gitc_delete.py +++ b/subcmds/gitc_delete.py | |||
@@ -14,12 +14,10 @@ | |||
14 | # limitations under the License. | 14 | # limitations under the License. |
15 | 15 | ||
16 | from __future__ import print_function | 16 | from __future__ import print_function |
17 | import os | ||
18 | import shutil | 17 | import shutil |
19 | import sys | 18 | import sys |
20 | 19 | ||
21 | from command import Command, GitcClientCommand | 20 | from command import Command, GitcClientCommand |
22 | import gitc_utils | ||
23 | 21 | ||
24 | from pyversion import is_python3 | 22 | from pyversion import is_python3 |
25 | if not is_python3(): | 23 | if not is_python3(): |