Index: tools/submit_try |
=================================================================== |
--- tools/submit_try (revision 8512) |
+++ tools/submit_try (working copy) |
@@ -176,9 +176,12 @@ |
Error('--bot specified multiple times.') |
if len(argv) < 1: |
Error('You must specify a builder with "--bot".') |
+ botlist_firstpass_string = '' |
+ while argv and not argv[0].startswith('-'): |
+ botlist_firstpass_string += argv.pop(0) |
+ botlist_firstpass_string += ' ' |
using_bots = [] |
- while argv and not argv[0].startswith('-'): |
- bot = argv.pop(0) |
+ for bot in botlist_firstpass_string.replace(',', ' ').split(): |
if bot == ALL_BUILDERS: |
if using_bots: |
Error('Cannot specify "all" with additional builder names.') |
@@ -261,4 +264,4 @@ |
if __name__ == '__main__': |
- sys.exit(main()) |
+ sys.exit(main()) |