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

Unified Diff: test/generator-output/rules/copy-file.py

Issue 1454433002: Python 3 compatibility Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rebase with master (4ec6c4e3a94bd04a6da2858163d40b2429b8aad1) Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: test/generator-output/rules/copy-file.py
diff --git a/test/generator-output/rules/copy-file.py b/test/generator-output/rules/copy-file.py
index 938c336adb01e500fbab51a96ded33827a436057..80c6749f93793a7d4416ee81e113a5ab5e436d0d 100755
--- a/test/generator-output/rules/copy-file.py
+++ b/test/generator-output/rules/copy-file.py
@@ -7,6 +7,6 @@
import sys
contents = open(sys.argv[1], 'r').read()
-open(sys.argv[2], 'wb').write(contents)
+open(sys.argv[2], 'w').write(contents)
sys.exit(0)

Powered by Google App Engine
This is Rietveld 408576698