Commits

Hugo Lopes Tavares  committed 7eb8956

using `rb` mode to read all pypiserver related files - md5 crashes under win32 if it does not open that way

  • Participants
  • Parent commits 17c9543

Comments (0)

Files changed (1)

File tests/pypi_server.py

         start_response('200 OK', headers)
         if not os.path.exists(filepath):
                 return ''
-        return [open(filepath).read()]
+        return [open(filepath, 'rb').read()]
     return wsgi_app