Commit b93dd2b2 authored by tandrii's avatar tandrii Committed by Commit bot

git cl try: clarify where the default set of bots is coming from.

R=sergiyb@chromium.org,dsinclair@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2044663003
parent 3bff56bb
......@@ -4462,7 +4462,10 @@ def CMDtry(parser, args):
# Skip presubmit builders, because these will fail without LGTM.
masters.setdefault(master, {})[builder] = ['defaulttests']
if masters:
print('Loaded default bots from CQ config (%s)' % cq_cfg)
return masters
else:
print('CQ config exists (%s) but has no try bots listed' % cq_cfg)
if not options.bot:
parser.error('No default try builder to try, use --bot')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment