Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4213)

Unified Diff: buildbot/prebuilt.py

Issue 6690026: Fix bug in prebuilt.py where None is substituted into a string. (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/prebuilt.py
diff --git a/buildbot/prebuilt.py b/buildbot/prebuilt.py
index 624a35bf19eb8b4c29ab2ed7185f9e3d99c1b83e..cf93078d845d638e50f6ca8d3445991cc719d2cf 100755
--- a/buildbot/prebuilt.py
+++ b/buildbot/prebuilt.py
@@ -496,7 +496,7 @@ class PrebuiltUploader(object):
failed_uploads = RemoteUpload(self._acl, upload_files)
if len(failed_uploads) > 1 or (None not in failed_uploads):
- error_msg = ['%s -> %s\n' % args for args in failed_uploads]
+ error_msg = ['%s -> %s\n' % args for args in failed_uploads if args]
raise UploadFailed('Error uploading:\n%s' % error_msg)
else:
pkgs = ' '.join(p['CPV'] + '.tbz2' for p in uploads)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698