| 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 import os | 6 import os |
| 7 import subprocess | 7 import subprocess |
| 8 import sys | 8 import sys |
| 9 | 9 |
| 10 ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) | 10 ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 command = sys.argv[1:] | 40 command = sys.argv[1:] |
| 41 for instance in INSTANCES: | 41 for instance in INSTANCES: |
| 42 print('\nDoing %s' % instance) | 42 print('\nDoing %s' % instance) |
| 43 subprocess.check_call( | 43 subprocess.check_call( |
| 44 [sys.executable, APPCFG] + command + [ROOT, '-A', instance]) | 44 [sys.executable, APPCFG] + command + [ROOT, '-A', instance]) |
| 45 return 0 | 45 return 0 |
| 46 | 46 |
| 47 | 47 |
| 48 if __name__ == '__main__': | 48 if __name__ == '__main__': |
| 49 sys.exit(main()) | 49 sys.exit(main()) |
| OLD | NEW |