Index: build/gyp_helper.py |
diff --git a/build/gyp_helper.py b/build/gyp_helper.py |
index 69a341de4f61b852e193427410907579e90248d1..63debcdd850dcc800095f307698fb958b718fa28 100644 |
--- a/build/gyp_helper.py |
+++ b/build/gyp_helper.py |
@@ -15,7 +15,7 @@ def apply_gyp_environment_from_file(file_path): |
"""Reads in a *.gyp_env file and applies the valid keys to os.environ.""" |
if not os.path.exists(file_path): |
return |
- with open(file_path) as f: |
+ with open(file_path, 'rU') as f: |
file_contents = f.read() |
try: |
file_data = eval(file_contents, {'__builtins__': None}, None) |