[Pypi-checkins] r1006 - trunk/pypi

martin.von.loewis python-checkins at python.org
Sat Jan 7 19:03:08 CET 2012


Author: martin.von.loewis
Date: Sat Jan  7 19:03:07 2012
New Revision: 1006

Modified:
   trunk/pypi/webui.py
Log:
Issue 3467609: Bump maximum file size in uploads.


Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Sat Jan  7 19:03:07 2012
@@ -2277,8 +2277,8 @@
         else:
             signature = None
 
-        # nothing over 20M please
-        if len(content) > 20*1024*1024:
+        # nothing over 40M please
+        if len(content) > 40*1024*1024:
             raise FormError, 'distribution file too large'
         if signature and len(signature) > 100*1024:
             raise FormError, 'invalid signature'


More information about the Pypi-checkins mailing list