| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2012 The LUCI Authors. All rights reserved. | 2 # Copyright 2012 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 """Front end tool to operate on .isolate files. | 6 """Front end tool to operate on .isolate files. |
| 7 | 7 |
| 8 This includes creating, merging or compiling them to generate a .isolated file. | 8 This includes creating, merging or compiling them to generate a .isolated file. |
| 9 | 9 |
| 10 See more information at | 10 See more information at |
| 11 https://code.google.com/p/swarming/wiki/IsolateDesign | 11 https://code.google.com/p/swarming/wiki/IsolateDesign |
| 12 https://code.google.com/p/swarming/wiki/IsolateUserGuide | 12 https://code.google.com/p/swarming/wiki/IsolateUserGuide |
| 13 """ | 13 """ |
| 14 # Run ./isolate.py --help for more detailed information. | 14 # Run ./isolate.py --help for more detailed information. |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1215 except ExecutionError as e: | 1215 except ExecutionError as e: |
| 1216 print >> sys.stderr, 'Execution failure: %s' % e | 1216 print >> sys.stderr, 'Execution failure: %s' % e |
| 1217 return 1 | 1217 return 1 |
| 1218 | 1218 |
| 1219 | 1219 |
| 1220 if __name__ == '__main__': | 1220 if __name__ == '__main__': |
| 1221 fix_encoding.fix_encoding() | 1221 fix_encoding.fix_encoding() |
| 1222 tools.disable_buffering() | 1222 tools.disable_buffering() |
| 1223 colorama.init() | 1223 colorama.init() |
| 1224 sys.exit(main(sys.argv[1:])) | 1224 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |