server/msplanner.py
branchstable
changeset 7677 134613d3b353
parent 7651 7c0af7ef3325
child 7771 59ddc2dbe7e0
--- a/server/msplanner.py	Wed Jul 20 14:09:42 2011 +0200
+++ b/server/msplanner.py	Wed Jul 20 18:22:41 2011 +0200
@@ -370,7 +370,7 @@
                     eid = const.eval(self.plan.args)
                     source = self._session.source_from_eid(eid)
                     if (source is self.system_source
-                        or (hasrel and
+                        or (hasrel and varobj._q_invariant and
                             not any(source.support_relation(r.r_type)
                                     for r in varobj.stinfo['relations']
                                     if not r is rel))):