rqlrewrite.py
branchstable
changeset 7879 9aae456abab5
parent 7850 d14b77c42b06
child 8056 8909800a8c51
--- a/rqlrewrite.py	Tue Sep 27 16:04:30 2011 +0200
+++ b/rqlrewrite.py	Wed Sep 28 09:27:42 2011 +0200
@@ -638,7 +638,7 @@
 
     def visit_mathexpression(self, node):
         cmp_ = n.MathExpression(node.operator)
-        for c in cmp.children:
+        for c in node.children:
             cmp_.append(c.accept(self))
         return cmp_