Commit 31f73931 authored by Guido van Rossum's avatar Guido van Rossum

setupLoop() was renamed to setRepeat() by Evan.

parent 877cea94
......@@ -172,7 +172,7 @@ class DummyEngine:
doc = ExpatBuilder.parse(fileName, 1)
return doc, macroName[i+1:]
def setupLoop(self, name, expr):
def setRepeat(self, name, expr):
seq = self.evaluateSequence(expr)
return Iterator(name, seq, self)
......
......@@ -252,7 +252,7 @@ class TALVisitor(CopyingDOMVisitor):
print "Bad syntax in z:repeat:", `arg`
return 0
name, expr = m.group(1, 2)
iterator = self.engine.setupLoop(name, expr)
iterator = self.engine.setRepeat(name, expr)
while iterator.next():
self.copySubtree(node, attrDict)
return 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment