Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 import os | |
| 7 import subprocess | |
| 8 import sys | |
| 9 | |
| 10 ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) | |
| 11 APPCFG = os.path.join(ROOT, '..', 'google_appengine', 'appcfg.py') | |
| 12 | |
| 13 INSTANCES = [ | |
| 14 'chromeos-status', | |
| 15 'chromium-status', | |
| 16 'chromiumos-status', | |
| 17 'gyp-status', | |
| 18 'naclports-status', | |
| 19 'naclsdk-status', | |
| 20 'nativeclient-status', | |
| 21 'o3d-status', | |
| 22 ] | |
| 23 | |
| 24 command = sys.argv[1:] | |
| 25 for instance in INSTANCES: | |
| 26 print('\nDoing %s' % instance) | |
|
bradn
2011/04/07 20:54:34
you don't need the parens for print.
| |
| 27 subprocess.check_call([APPCFG] + command + [ROOT, '-A', instance]) | |
| OLD | NEW |