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

Unified Diff: trychange.py

Issue 197553009: Fix gcl try after PRESUBMIT files have been modified for multiple tryserver support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 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: trychange.py
diff --git a/trychange.py b/trychange.py
index 99070612648ad46b8d2197c0e0ea7499bc94f0b7..6b0c8af646a4f56a1e4086fbf9aac6223f3ca6cf 100755
--- a/trychange.py
+++ b/trychange.py
@@ -376,14 +376,14 @@ def _GenTSBotSpec(checkouts, change, changed_files, options):
options.issue,
options.patchset,
options.email)
- trybots = presubmit_support.DoGetTrySlaves(
+ trybots = presubmit_support.DoGetTryMasters(
change,
checkouts[0].GetFileNames(),
checkouts[0].checkout_root,
root_presubmit,
options.project,
options.verbose,
- sys.stdout)
+ sys.stdout).get('tryserver.chromium', [])
if trybots:
old_style = filter(lambda x: isinstance(x, basestring), trybots)
new_style = filter(lambda x: isinstance(x, tuple), trybots)
« 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