[Pypi-checkins] r814 - trunk/pypi

richard python-checkins at python.org
Sat Jul 24 19:10:35 CEST 2010


Author: richard
Date: Sat Jul 24 19:10:35 2010
New Revision: 814

Modified:
   trunk/pypi/webui.py
Log:
.json instead

Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Sat Jul 24 19:10:35 2010
@@ -1053,7 +1053,7 @@
             url['upload_time'] = url['upload_time'].strftime('%Y-%m-%dT%H:%M:%S')
         self.handler.send_response(200, "OK")
         self.handler.set_content_type('application/json; charset="UTF-8"')
-        filename = '%s-%s.xml'%(name.encode('ascii', 'replace'),
+        filename = '%s-%s.json'%(name.encode('ascii', 'replace'),
             version.encode('ascii', 'replace'))
         self.handler.send_header('Content-Disposition',
             'attachment; filename=%s'%filename)


More information about the Pypi-checkins mailing list