Commit 5ab676cf authored by shess@chromium.org's avatar shess@chromium.org

Don't iterate options.bot if it isn't present.


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@29220 0039d316-1c4b-4281-b951-d872f2087c98
parent b97010c9
......@@ -246,8 +246,9 @@ if __name__ == '__main__':
'svn://svn.chromium.org/chrome-try/try',
])
for bot in options.bot:
args.extend(['--bot', bot])
if options.bot:
for bot in options.bot:
args.extend(['--bot', bot])
if options.clobber:
args.append('--clobber')
if options.revision:
......
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