duh???
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Dec 2009 12:02:57 +0100
changeset 4027 02273e65e1c2
parent 4026 d80a55a024d8
child 4028 062beb946b7c
duh???
hooks/integrity.py
--- a/hooks/integrity.py	Tue Dec 08 12:01:50 2009 +0100
+++ b/hooks/integrity.py	Tue Dec 08 12:02:57 2009 +0100
@@ -67,7 +67,7 @@
 
 class UserIntegrityHook(IntegrityHook):
     __abstract__ = True
-    __select__ = IntegrityHook.__select__ & ~hook.regular_session()
+    __select__ = IntegrityHook.__select__ & hook.regular_session()
 
 
 class CheckCardinalityHook(UserIntegrityHook):
@@ -153,6 +153,7 @@
             _CheckConstraintsOp(self._cw, constraints=constraints,
                                rdef=(self.eidfrom, self.rtype, self.eidto))
 
+
 class CheckAttributeConstraintHook(UserIntegrityHook):
     """check the attribute relation satisfy its constraints