# HG changeset patch # User Sylvain Thénault # Date 1269616516 -3600 # Node ID ed048e317eae751d3a6191cad42470f137c9bf87 # Parent 261add0b946c2827806b91a853b5b8922630793c [ms] fix name error introduced by rql 0.26 api update diff -r 261add0b946c -r ed048e317eae server/msplanner.py --- a/server/msplanner.py Thu Mar 25 20:32:10 2010 +0100 +++ b/server/msplanner.py Fri Mar 26 16:15:16 2010 +0100 @@ -315,8 +315,8 @@ for const in rel.children[1].get_nodes(Constant): eid = const.eval(self.plan.args) source = self._session.source_from_eid(eid) - if vrels and not any(source.support_relation(r.r_type) - for r in vrels if not r is rel): + if not any(source.support_relation(r.r_type) + for r in varobj.stinfo['relations'] if not r is rel): self._set_source_for_term(self.system_source, varobj) else: self._set_source_for_term(source, varobj)