changeset 408 | a8814ff6824e |
parent 407 | 68783684ec2f |
child 446 | 3a3ab6bbccc5 |
--- a/web/facet.py Wed Jan 14 14:29:56 2009 +0100 +++ b/web/facet.py Wed Jan 14 14:30:45 2009 +0100 @@ -226,6 +226,8 @@ # we can also remove all variables which are linked to this variable # and have no path to the main variable for ovarname in linkedvars: + if ovarname == mainvar.name: + continue if not has_path(vargraph, ovarname, mainvar.name): toremove.add(rqlst.defined_vars[ovarname])