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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/bisector.py

Issue 1050253003: Changed the step name for wait_for_any.py to include only one revision. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@hax
Patch Set: Removing colon. Created 5 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 | scripts/slave/recipe_modules/auto_bisect/example.expected/bad_deps_syntax.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/bisector.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/bisector.py b/scripts/slave/recipe_modules/auto_bisect/bisector.py
index ba75666a19ac8a75af25aa86dfad0180274ff860..55d4072b1c8439dbfef9edaf74b5c7e74801be3c 100644
--- a/scripts/slave/recipe_modules/auto_bisect/bisector.py
+++ b/scripts/slave/recipe_modules/auto_bisect/bisector.py
@@ -398,8 +398,9 @@ class Bisector(object):
the appropriate bucket, or when buildbot test job is complete.
"""
gsutil_path = self.api.m.gsutil.get_gsutil_path()
- name = 'Waiting for any of these revisions:' + ' '.join(
- [r.revision_string for r in revision_list])
+ name = 'Waiting for revision ' + revision_list[0].revision_string
+ if len(revision_list) > 1:
+ name += ' and %d other revision(s).' % (len(revision_list) - 1)
script = self.api.resource('wait_for_any.py')
args_list = [gsutil_path]
url_list = [r.get_next_url() for r in revision_list]
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/auto_bisect/example.expected/bad_deps_syntax.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698