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 ". err_msg = "error: cannot abandon %s" %br print(err_msg, file=sys.stderr) for proj in err[br]: - print(' '*len(err_msg) + " | %s" % p.relpath, file=sys.stderr) + print(' '*len(err_msg) + " | %s" % proj.relpath, file=sys.stderr) sys.exit(1) elif not success: print('error: no project has local branch(es) : %s' % nb,