changeset 7845 | 2172978be237 |
parent 7797 | a71618a75b53 |
parent 7815 | 2a164a9cf81c |
child 7894 | ad0eeb0f7a8d |
--- a/web/views/autoform.py Fri Sep 23 09:17:37 2011 +0200 +++ b/web/views/autoform.py Fri Sep 23 14:18:13 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)