Commit a6ab02d1 authored by Martin v. Löwis's avatar Martin v. Löwis

Open _get streams in binary mode.

--HG--
branch : distribute
extra : rebase_source : 81baa71c46d64e1d3431bae843a04f163976bf8f
parent 7ee68f0c
......@@ -1239,7 +1239,7 @@ class DefaultProvider(EggProvider):
return open(self._fn(self.module_path, resource_name), 'rb')
def _get(self, path):
stream = open(path, 'rb')
stream = open(path, 'rU')
try:
return stream.read()
finally:
......
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