Commit 4d3db0df authored by Lennart Regebro's avatar Lennart Regebro

Wrong file mode when creating bdists under Python 3.1.

--HG--
branch : distribute
extra : rebase_source : 3af8cc2ab10edeeeb75b03e1a63e8de008142176
parent 1502d742
......@@ -87,7 +87,7 @@ class install_egg_info(Command):
filename += '-nspkg.pth'; self.outputs.append(filename)
log.info("Installing %s",filename)
if not self.dry_run:
f = open(filename,'wb')
f = open(filename,'wt')
for pkg in nsp:
pth = tuple(pkg.split('.'))
trailer = '\n'
......
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