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

Unified Diff: dashboard/dashboard/start_try_job.py

Issue 1806333007: In start_try_job.GuessBisectBot, lower-case platform string. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Created 4 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: dashboard/dashboard/start_try_job.py
diff --git a/dashboard/dashboard/start_try_job.py b/dashboard/dashboard/start_try_job.py
index db116a4226f661fa96e10b4c705130f4b02c8ba3..77f41e94df178f1567e61833a355ef0d37489552 100644
--- a/dashboard/dashboard/start_try_job.py
+++ b/dashboard/dashboard/start_try_job.py
@@ -393,7 +393,7 @@ def GuessBisectBot(master_name, bot_name):
# Treat ChromiumPerfFyi (etc.) the same as ChromiumPerf.
if master_name.startswith(master):
for platform, bisect_bot in platform_bot_pairs:
- if platform in bot_name:
+ if platform.lower() in bot_name:
return bisect_bot
# Nothing was found; log a warning and return a fall-back name.
logging.warning('No bisect bot for %s/%s.', master_name, bot_name)
« 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