| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # TODO(maruel): Remove once the masters are restarted to use the version in | 6 # TODO(maruel): Remove once the masters are restarted to use the version in |
| 7 # swarming/ | 7 # swarming/ |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 import subprocess | 10 import subprocess |
| 11 import sys | 11 import sys |
| 12 | 12 |
| 13 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) | 13 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
| 14 | 14 |
| 15 | 15 |
| 16 def main(): | 16 def main(): |
| 17 cmd = [ | 17 cmd = [ |
| 18 sys.executable, | 18 sys.executable, |
| 19 os.path.join(BASE_DIR, 'swarming', 'get_swarm_results.py') | 19 os.path.join(BASE_DIR, 'swarming', 'get_swarm_results_shim.py') |
| 20 ] + sys.argv[1:] | 20 ] + sys.argv[1:] |
| 21 return subprocess.call(cmd) | 21 return subprocess.call(cmd) |
| 22 | 22 |
| 23 | 23 |
| 24 if __name__ == '__main__': | 24 if __name__ == '__main__': |
| 25 sys.exit(main()) | 25 sys.exit(main()) |
| OLD | NEW |