diff options
-rw-r--r-- | build/gyp_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gyp_helper.py b/build/gyp_helper.py index 69a341d..63debcd 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) |