[Pypi-checkins] r816 - trunk/pypi

richard python-checkins at python.org
Sun Jul 25 09:13:53 CEST 2010


Author: richard
Date: Sun Jul 25 09:13:52 2010
New Revision: 816

Modified:
   trunk/pypi/webui.py
Log:
utf8 encode for filesystem (assuming this is correct)

Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Sun Jul 25 09:13:52 2010
@@ -1358,7 +1358,7 @@
 
         docs = ''
         for sub in [[], ['html']]:
-            path = [self.config.database_docs_dir, name] + sub + ['index.html']
+            path = [self.config.database_docs_dir, name.encode('utf8')] + sub + ['index.html']
             if os.path.exists(os.path.join(*path)):
                 docs = '/'.join(['http://packages.python.org', name] + sub)
 


More information about the Pypi-checkins mailing list