entities/authobjs.py
branchstable
changeset 7815 2a164a9cf81c
parent 7782 40a49f4350a5
child 7845 2172978be237
--- a/entities/authobjs.py	Tue Sep 20 15:14:04 2011 +0200
+++ b/entities/authobjs.py	Wed Sep 21 17:38:00 2011 +0200
@@ -98,7 +98,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