--- 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_