diff options
Diffstat (limited to 'subcmds/upload.py')
-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 9b77b0ee..bac2f8ac 100644 --- a/subcmds/upload.py +++ b/subcmds/upload.py | |||
@@ -737,8 +737,8 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
737 | pending = [] | 737 | pending = [] |
738 | for result in results: | 738 | for result in results: |
739 | project_idx, avail = result | 739 | project_idx, avail = result |
740 | project = projects[project_idx] | ||
740 | if avail is None: | 741 | if avail is None: |
741 | project = projects[project_idx] | ||
742 | logger.error( | 742 | logger.error( |
743 | 'repo: error: %s: Unable to upload branch "%s". ' | 743 | 'repo: error: %s: Unable to upload branch "%s". ' |
744 | "You might be able to fix the branch by running:\n" | 744 | "You might be able to fix the branch by running:\n" |
@@ -748,7 +748,7 @@ Gerrit Code Review: https://www.gerritcodereview.com/ | |||
748 | project.manifest.branch, | 748 | project.manifest.branch, |
749 | ) | 749 | ) |
750 | elif avail: | 750 | elif avail: |
751 | pending.append(result) | 751 | pending.append((project, avail)) |
752 | return pending | 752 | return pending |
753 | 753 | ||
754 | with self.ParallelContext(): | 754 | with self.ParallelContext(): |