diff -r d901c36bcfce -r 358d8bed9626 web/views/cwproperties.py --- 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')