entities/authobjs.py
changeset 7845 2172978be237
parent 7827 9bbf83f68bcc
parent 7815 2a164a9cf81c
child 7994 af3fb709c061
--- a/entities/authobjs.py	Fri Sep 23 09:17:37 2011 +0200
+++ b/entities/authobjs.py	Fri Sep 23 14:18:13 2011 +0200
@@ -82,7 +82,7 @@
             prop = self._cw.execute(
                 'CWProperty X WHERE X pkey %(k)s, X for_user U, U eid %(u)s',
                 {'k': pkey, 'u': self.eid}).get_entity(0, 0)
-        except:
+        except Exception:
             kwargs = dict(pkey=unicode(pkey), value=value)
             if self.is_in_group('managers'):
                 kwargs['for_user'] = self