web/views/forms.py
changeset 8695 358d8bed9626
parent 8694 d901c36bcfce
child 8748 f5027f8d2478
--- a/web/views/forms.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/web/views/forms.py	Thu Feb 14 15:38:25 2013 +0100
@@ -293,7 +293,7 @@
                 try:
                     for field, value in field.process_posted(self):
                         processed[field.role_name()] = value
-                except ProcessFormError, exc:
+                except ProcessFormError as exc:
                     errors.append((field, exc))
             if errors:
                 errors = dict((f.role_name(), unicode(ex)) for f, ex in errors)