equal
deleted
inserted
replaced
342 # actually have to fetch from it only if |
342 # actually have to fetch from it only if |
343 # * the variable isn't invariant |
343 # * the variable isn't invariant |
344 # * at least one supported relation specified |
344 # * at least one supported relation specified |
345 if not varobj._q_invariant or \ |
345 if not varobj._q_invariant or \ |
346 any(imap(source.support_relation, |
346 any(imap(source.support_relation, |
347 (r.r_type for r in rels if r.r_type != 'eid'))): |
347 (r.r_type for r in rels if r.r_type not in ('identity', 'eid')))): |
348 sourcesterms.setdefault(source, {}).setdefault(varobj, set()).add(i) |
348 sourcesterms.setdefault(source, {}).setdefault(varobj, set()).add(i) |
349 # if variable is not invariant and is used by a relation |
349 # if variable is not invariant and is used by a relation |
350 # not supported by this source, we'll have to split the |
350 # not supported by this source, we'll have to split the |
351 # query |
351 # query |
352 if not varobj._q_invariant and any(ifilterfalse( |
352 if not varobj._q_invariant and any(ifilterfalse( |