diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-12-01 06:12:06 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-12-01 06:12:06 -0500 |
commit | ec3014377e1369116da3bf71b6c5acaa3168b9dc (patch) | |
tree | 50b34e7f78946d79cfb005f73ccc903ec247be11 /setuptools/package_index.py | |
parent | 4ae4faeb1262435260ee8a5f2a0ab910fe96ea23 (diff) | |
download | python-setuptools-git-bootstrap-py24.tar.gz |
Corrected a TypeError when reading a local package index on Python 3. Fixes #116.archive/bootstrap-py241.4.2bootstrap-py24
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index 4ffafa28..ef247cf3 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -1039,7 +1039,7 @@ def local_open(url): files = [] for f in os.listdir(filename): if f=='index.html': - fp = open(os.path.join(filename,f),'rb') + fp = open(os.path.join(filename,f),'r') body = fp.read() fp.close() break |