Commits

Martin von Löwis committed 80a6bac

Open _get streams in binary mode.

  • Participants
  • Parent commits b459f20
  • Branches 0.6-maintenance

Comments (0)

Files changed (1)

File pkg_resources.py

         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: