diff options
| -rw-r--r-- | subcmds/upload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/upload.py b/subcmds/upload.py index 49d00187..5e36db61 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
| @@ -151,7 +151,7 @@ with the code review system, or the upload will fail. | |||
| 151 | _die("nothing uncommented for upload") | 151 | _die("nothing uncommented for upload") |
| 152 | self._UploadAndReport(todo, people) | 152 | self._UploadAndReport(todo, people) |
| 153 | 153 | ||
| 154 | def _ReplaceBranch(self, project): | 154 | def _ReplaceBranch(self, project, people): |
| 155 | branch = project.CurrentBranch | 155 | branch = project.CurrentBranch |
| 156 | if not branch: | 156 | if not branch: |
| 157 | print >>sys.stdout, "no branches ready for upload" | 157 | print >>sys.stdout, "no branches ready for upload" |
| @@ -247,7 +247,7 @@ with the code review system, or the upload will fail. | |||
| 247 | print >>sys.stderr, \ | 247 | print >>sys.stderr, \ |
| 248 | 'error: --replace requires exactly one project' | 248 | 'error: --replace requires exactly one project' |
| 249 | sys.exit(1) | 249 | sys.exit(1) |
| 250 | self._ReplaceBranch(project_list[0]) | 250 | self._ReplaceBranch(project_list[0], people) |
| 251 | return | 251 | return |
| 252 | 252 | ||
| 253 | for project in project_list: | 253 | for project in project_list: |
