Commit ec301437 authored by Jason R. Coombs's avatar Jason R. Coombs

Corrected a TypeError when reading a local package index on Python 3. Fixes #116.

parent 4ae4faeb
......@@ -2,6 +2,13 @@
CHANGES
=======
-----
1.4.2
-----
* Issue #116: Correct TypeError when reading a local package index on Python
3.
-----
1.4.1
-----
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment