| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 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 """Creates an .isolate given a list of files. | 6 """Creates an .isolate given a list of files. |
| 7 | 7 |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 import argparse | 10 import argparse |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 if options.out_file: | 107 if options.out_file: |
| 108 with open(options.out_file, 'w') as f: | 108 with open(options.out_file, 'w') as f: |
| 109 f.write(isolate_data + '\n') | 109 f.write(isolate_data + '\n') |
| 110 else: | 110 else: |
| 111 print isolate_data | 111 print isolate_data |
| 112 | 112 |
| 113 | 113 |
| 114 if __name__ == '__main__': | 114 if __name__ == '__main__': |
| 115 sys.exit(main()) | 115 sys.exit(main()) |
| 116 | 116 |
| OLD | NEW |