OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Copyright (c) 2009 Google Inc. All rights reserved. | 3 # Copyright (c) 2009 Google Inc. 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 import sys | 7 import sys |
8 | 8 |
9 contents = open(sys.argv[1], 'r').read() | 9 contents = open(sys.argv[1], 'r').read() |
10 open(sys.argv[2], 'wb').write(contents) | 10 open(sys.argv[2], 'w').write(contents) |
11 | 11 |
12 sys.exit(0) | 12 sys.exit(0) |
OLD | NEW |