web/views/autoform.py
branchstable
changeset 7815 2a164a9cf81c
parent 7782 40a49f4350a5
child 7845 2172978be237
child 7879 9aae456abab5
--- a/web/views/autoform.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/web/views/autoform.py	Wed Sep 21 17:38:00 2011 +0200
@@ -325,7 +325,7 @@
     def _entity(self):
         try:
             cls = self._cw.vreg['etypes'].etype_class(self.etype)
-        except:
+        except Exception:
             self.w(self._cw._('no such entity type %s') % self.etype)
             return
         entity = cls(self._cw)