diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-18 10:10:08 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-18 10:10:08 -0400 |
commit | 052e7b4453d950d11025107e9c98fa0be744d72f (patch) | |
tree | bd851fd9590e1be16bb99414751d500f4374cd03 /setuptools/compat.py | |
parent | a7cac0e348ab9be0d56a390e87ea2ab74c69a12a (diff) | |
download | external_python_setuptools-052e7b4453d950d11025107e9c98fa0be744d72f.tar.gz external_python_setuptools-052e7b4453d950d11025107e9c98fa0be744d72f.tar.bz2 external_python_setuptools-052e7b4453d950d11025107e9c98fa0be744d72f.zip |
execfile now opens target in binary mode for better compatibility. Fixes Distribute #349.1.1.6
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r-- | setuptools/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/compat.py b/setuptools/compat.py index 860c39f3..529a5fbc 100644 --- a/setuptools/compat.py +++ b/setuptools/compat.py @@ -84,7 +84,7 @@ else: globs = globals() if locs is None: locs = globs - f = open(fn) + f = open(fn, 'rb') try: source = f.read() finally: |