server/msplanner.py
branch3.5
changeset 3239 1ceac4cd4fb7
parent 3040 e4dc22040f5f
child 3624 05932c6f7db2
--- a/server/msplanner.py	Wed Sep 16 14:16:19 2009 +0200
+++ b/server/msplanner.py	Wed Sep 16 14:17:12 2009 +0200
@@ -344,7 +344,7 @@
                         # * at least one supported relation specified
                         if not varobj._q_invariant or \
                                any(imap(source.support_relation,
-                                        (r.r_type for r in rels if r.r_type != 'eid'))):
+                                        (r.r_type for r in rels if r.r_type not in ('identity', 'eid')))):
                             sourcesterms.setdefault(source, {}).setdefault(varobj, set()).add(i)
                         # if variable is not invariant and is used by a relation
                         # not supported by this source, we'll have to split the