summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/abandon.py2
-rw-r--r--subcmds/gitc_delete.py2
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
16from __future__ import print_function 16from __future__ import print_function
17import os
18import shutil 17import shutil
19import sys 18import sys
20 19
21from command import Command, GitcClientCommand 20from command import Command, GitcClientCommand
22import gitc_utils
23 21
24from pyversion import is_python3 22from pyversion import is_python3
25if not is_python3(): 23if not is_python3():