--- a/web/formfields.py Thu Feb 14 15:39:23 2013 +0100
+++ b/web/formfields.py Thu Feb 14 15:38:25 2013 +0100
@@ -988,7 +988,7 @@
return None
try:
value = form._cw.parse_datetime(value, self.etype)
- except ValueError, ex:
+ except ValueError as ex:
raise ProcessFormError(unicode(ex))
return value