OLD | NEW |
1 # Copyright 2014 The Swarming Authors. All rights reserved. | 1 # Copyright 2014 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed under the Apache License, Version 2.0 that | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
3 # can be found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Toolset to run multiple Swarming tasks in parallel.""" | 5 """Toolset to run multiple Swarming tasks in parallel.""" |
6 | 6 |
7 import getpass | 7 import getpass |
8 import json | 8 import json |
9 import os | 9 import os |
10 import optparse | 10 import optparse |
11 import subprocess | 11 import subprocess |
12 import sys | 12 import sys |
13 import tempfile | 13 import tempfile |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 options.swarming = options.swarming.rstrip('/') | 184 options.swarming = options.swarming.rstrip('/') |
185 if not options.swarming: | 185 if not options.swarming: |
186 self.error('--swarming is required.') | 186 self.error('--swarming is required.') |
187 auth.process_auth_options(self, options) | 187 auth.process_auth_options(self, options) |
188 isolateserver.process_isolate_server_options(self, options, False) | 188 isolateserver.process_isolate_server_options(self, options, False) |
189 options.dimensions = dict(options.dimensions) | 189 options.dimensions = dict(options.dimensions) |
190 return options, args | 190 return options, args |
191 | 191 |
192 def format_description(self, _): | 192 def format_description(self, _): |
193 return self.description | 193 return self.description |
OLD | NEW |