| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 """Archives a set of files. | 7 """Archives a set of files. |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 import ast | 10 import ast |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 zip_inputs = [] | 57 zip_inputs = [] |
| 58 if options.zip_inputs: | 58 if options.zip_inputs: |
| 59 zip_inputs = ast.literal_eval(options.zip_inputs) | 59 zip_inputs = ast.literal_eval(options.zip_inputs) |
| 60 output = options.output | 60 output = options.output |
| 61 base_dir = options.base_dir | 61 base_dir = options.base_dir |
| 62 | 62 |
| 63 DoZip(inputs, link_inputs, zip_inputs, output, base_dir) | 63 DoZip(inputs, link_inputs, zip_inputs, output, base_dir) |
| 64 | 64 |
| 65 if __name__ == '__main__': | 65 if __name__ == '__main__': |
| 66 sys.exit(main()) | 66 sys.exit(main()) |
| OLD | NEW |