# HG changeset patch # User Sylvain Thénault # Date 1255078161 -7200 # Node ID 05932c6f7db29b3910492b2bc45345bc2d025825 # Parent 9b838e2d72bb5aeb196a501fb6930b7ed132dc46 fix buggy assertion diff -r 9b838e2d72bb -r 05932c6f7db2 server/msplanner.py --- a/server/msplanner.py Thu Oct 08 15:25:09 2009 +0200 +++ b/server/msplanner.py Fri Oct 09 10:49:21 2009 +0200 @@ -636,7 +636,7 @@ sourcesterms[source][term].remove(solindex) except KeyError: import rql.base as rqlb - assert isinstance(term, rqlb.BaseNode), repr(term) + assert isinstance(term, (rqlb.BaseNode, Variable)), repr(term) continue # may occur with subquery column alias if not sourcesterms[source][term]: del sourcesterms[source][term]