fix(push): fix push info

This commit is contained in:
江畅
2020-08-13 17:34:07 +08:00
parent a1dfe03130
commit 2078a28e55
+2 -2
View File
@@ -317,13 +317,13 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
for branch in todo:
if branch.uploaded:
print(sys.stderr, '[PUSH OK] %-15s %s ' % (
print('[PUSH OK] %-15s %s ' % (
branch.project.relpath + '/',
branch.name),
file=sys.stderr)
if have_pr:
if branch.pull_requested:
print(sys.stderr, '[PR OK] %-15s %s pr_url: %s' % (
print('[PR OK] %-15s %s pr_url: %s' % (
branch.project.relpath + '/',
branch.name, branch.pr_url),
file=sys.stderr)