summaryrefslogtreecommitdiff
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-12-01 06:12:06 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-12-01 06:12:06 -0500
commitec3014377e1369116da3bf71b6c5acaa3168b9dc (patch)
tree50b34e7f78946d79cfb005f73ccc903ec247be11 /setuptools/package_index.py
parent4ae4faeb1262435260ee8a5f2a0ab910fe96ea23 (diff)
downloadpython-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-xsetuptools/package_index.py2
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