Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: trunk/test/generator-output/rules/copy-file.py

Issue 306051: Add AUTHORS and LICENSE files, and copyright headers to relevant source files... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2
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
5 # found in the LICENSE file.
6
2 import sys 7 import sys
3 8
4 contents = open(sys.argv[1], 'r').read() 9 contents = open(sys.argv[1], 'r').read()
5 open(sys.argv[2], 'wb').write(contents) 10 open(sys.argv[2], 'wb').write(contents)
6 11
7 sys.exit(0) 12 sys.exit(0)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698