OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2009 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 """ | 6 """ |
7 version.py -- Chromium version string substitution utility. | 7 version.py -- Chromium version string substitution utility. |
8 """ | 8 """ |
9 | 9 |
10 import getopt | 10 import getopt |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 if out_file: | 188 if out_file: |
189 write_if_changed(out_file, contents) | 189 write_if_changed(out_file, contents) |
190 else: | 190 else: |
191 print contents | 191 print contents |
192 | 192 |
193 return 0 | 193 return 0 |
194 | 194 |
195 | 195 |
196 if __name__ == '__main__': | 196 if __name__ == '__main__': |
197 sys.exit(main()) | 197 sys.exit(main()) |
OLD | NEW |