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

Unified Diff: test/win/idl-excluded/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/win/idl-excluded/copy-file.py
diff --git a/test/win/idl-excluded/copy-file.py b/test/win/idl-excluded/copy-file.py
index 5a5feae1f21eed4dbd014afa9c51917fb5ecfe51..7bdfbfd4bd65bd13f2f576de818d8fe928fb1567 100644
--- a/test/win/idl-excluded/copy-file.py
+++ b/test/win/idl-excluded/copy-file.py
@@ -6,6 +6,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