[ms] this test is already done before putting a relation in uidrels
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 19 Mar 2010 10:07:30 +0100
changeset 4956 e8a5cd5032f4
parent 4955 8ddd5e938804
child 4957 25f20adba80f
[ms] this test is already done before putting a relation in uidrels
server/msplanner.py
--- a/server/msplanner.py	Fri Mar 19 09:08:09 2010 +0100
+++ b/server/msplanner.py	Fri Mar 19 10:07:30 2010 +0100
@@ -313,8 +313,6 @@
             if varobj.stinfo['uidrels']:
                 vrels = varobj.stinfo['relations'] - varobj.stinfo['uidrels']
                 for rel in varobj.stinfo['uidrels']:
-                    if rel.neged(strict=True) or rel.operator() != '=':
-                        continue
                     for const in rel.children[1].get_nodes(Constant):
                         eid = const.eval(self.plan.args)
                         source = self._session.source_from_eid(eid)