diff options
Diffstat (limited to 'subcmds')
| -rw-r--r-- | subcmds/download.py | 4 | ||||
| -rw-r--r-- | subcmds/sync.py | 2 | ||||
| -rw-r--r-- | subcmds/upload.py | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/subcmds/download.py b/subcmds/download.py index f746bc23..fbd302aa 100644 --- a/subcmds/download.py +++ b/subcmds/download.py | |||
| @@ -93,7 +93,7 @@ If no project is specified try to use current directory as a project. | |||
| 93 | continue | 93 | continue |
| 94 | 94 | ||
| 95 | if len(dl.commits) > 1: | 95 | if len(dl.commits) > 1: |
| 96 | print('[%s] %d/%d depends on %d unmerged changes:' \ | 96 | print('[%s] %d/%d depends on %d unmerged changes:' |
| 97 | % (project.name, change_id, ps_id, len(dl.commits)), | 97 | % (project.name, change_id, ps_id, len(dl.commits)), |
| 98 | file=sys.stderr) | 98 | file=sys.stderr) |
| 99 | for c in dl.commits: | 99 | for c in dl.commits: |
| @@ -102,7 +102,7 @@ If no project is specified try to use current directory as a project. | |||
| 102 | try: | 102 | try: |
| 103 | project._CherryPick(dl.commit) | 103 | project._CherryPick(dl.commit) |
| 104 | except GitError: | 104 | except GitError: |
| 105 | print('[%s] Could not complete the cherry-pick of %s' \ | 105 | print('[%s] Could not complete the cherry-pick of %s' |
| 106 | % (project.name, dl.commit), file=sys.stderr) | 106 | % (project.name, dl.commit), file=sys.stderr) |
| 107 | sys.exit(1) | 107 | sys.exit(1) |
| 108 | 108 | ||
diff --git a/subcmds/sync.py b/subcmds/sync.py index 54b5a7fc..df23034b 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
| @@ -355,7 +355,7 @@ later is required to fix a server side protocol bug. | |||
| 355 | except _FetchError: | 355 | except _FetchError: |
| 356 | pass | 356 | pass |
| 357 | except Exception as e: | 357 | except Exception as e: |
| 358 | print('error: Cannot fetch %s (%s: %s)' \ | 358 | print('error: Cannot fetch %s (%s: %s)' |
| 359 | % (project.name, type(e).__name__, str(e)), file=sys.stderr) | 359 | % (project.name, type(e).__name__, str(e)), file=sys.stderr) |
| 360 | err_event.set() | 360 | err_event.set() |
| 361 | raise | 361 | raise |
diff --git a/subcmds/upload.py b/subcmds/upload.py index f81491a2..c0f870eb 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
| @@ -422,8 +422,8 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
| 422 | else: | 422 | else: |
| 423 | fmt = '\n (%s)' | 423 | fmt = '\n (%s)' |
| 424 | print(('[FAILED] %-15s %-15s' + fmt) % ( | 424 | print(('[FAILED] %-15s %-15s' + fmt) % ( |
| 425 | branch.project.relpath + '/', \ | 425 | branch.project.relpath + '/', |
| 426 | branch.name, \ | 426 | branch.name, |
| 427 | str(branch.error)), | 427 | str(branch.error)), |
| 428 | file=sys.stderr) | 428 | file=sys.stderr) |
| 429 | print() | 429 | print() |
