web/views/cwproperties.py
changeset 8695 358d8bed9626
parent 8665 e65af61bde7d
child 10277 e7cdf820fe8f
--- a/web/views/cwproperties.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/web/views/cwproperties.py	Thu Feb 14 15:38:25 2013 +0100
@@ -349,7 +349,7 @@
             return
         try:
             pdef = form._cw.vreg.property_info(entity.pkey)
-        except UnknownProperty, ex:
+        except UnknownProperty as ex:
             form.warning('%s (you should probably delete that property '
                          'from the database)', ex)
             msg = form._cw._('you should probably delete that property')