[Pypi-checkins] r976 - trunk/pypi

richard python-checkins at python.org
Mon Sep 5 06:27:45 CEST 2011


Author: richard
Date: Mon Sep  5 06:27:44 2011
New Revision: 976

Modified:
   trunk/pypi/webui.py
Log:
duh

Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py	(original)
+++ trunk/pypi/webui.py	Mon Sep  5 06:27:44 2011
@@ -1694,7 +1694,7 @@
         submission.
         '''
         if self.form.get('CSRFToken') != self.store.get_token(self.username):
-            self.FormError, "Form Failure; reset form submission"
+            raise FormError, "Form Failure; reset form submission"
 
     def submit_pkg_info(self):
         ''' Handle the submission of distro metadata as a PKG-INFO file.


More information about the Pypi-checkins mailing list