OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The LUCI Authors. All rights reserved. | 2 # Copyright 2014 The LUCI Authors. All rights reserved. |
3 # Use of this source code is governed by the Apache v2.0 license that can be | 3 # Use of this source code is governed under the Apache License, Version 2.0 |
4 # found in the LICENSE file. | 4 # that can be found in the LICENSE file. |
5 | 5 |
6 """Wrapper around GAE SDK tools to simplify working with multi module apps.""" | 6 """Wrapper around GAE SDK tools to simplify working with multi module apps.""" |
7 | 7 |
8 __version__ = '1.0' | 8 __version__ = '1.0' |
9 | 9 |
10 import atexit | 10 import atexit |
11 import code | 11 import code |
12 import optparse | 12 import optparse |
13 import os | 13 import os |
14 import signal | 14 import signal |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 print >> sys.stderr, 'Login first using \'login\' subcommand.' | 452 print >> sys.stderr, 'Login first using \'login\' subcommand.' |
453 return 1 | 453 return 1 |
454 except KeyboardInterrupt: | 454 except KeyboardInterrupt: |
455 # Don't dump stack traces on Ctrl+C, it's expected flow in some commands. | 455 # Don't dump stack traces on Ctrl+C, it's expected flow in some commands. |
456 print >> sys.stderr, '\nInterrupted' | 456 print >> sys.stderr, '\nInterrupted' |
457 return 1 | 457 return 1 |
458 | 458 |
459 | 459 |
460 if __name__ == '__main__': | 460 if __name__ == '__main__': |
461 sys.exit(main(sys.argv[1:])) | 461 sys.exit(main(sys.argv[1:])) |
OLD | NEW |