equal
deleted
inserted
replaced
224 if vref.name == trvarname: |
224 if vref.name == trvarname: |
225 rqlst.remove_group_var(vref) |
225 rqlst.remove_group_var(vref) |
226 # we can also remove all variables which are linked to this variable |
226 # we can also remove all variables which are linked to this variable |
227 # and have no path to the main variable |
227 # and have no path to the main variable |
228 for ovarname in linkedvars: |
228 for ovarname in linkedvars: |
|
229 if ovarname == mainvar.name: |
|
230 continue |
229 if not has_path(vargraph, ovarname, mainvar.name): |
231 if not has_path(vargraph, ovarname, mainvar.name): |
230 toremove.add(rqlst.defined_vars[ovarname]) |
232 toremove.add(rqlst.defined_vars[ovarname]) |
231 |
233 |
232 |
234 |
233 |
235 |