Skip to content
Myr

[svn] fixed typo in recursive for loop

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 9e3f805 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja/translators/python.py+1 added-1 removed
301 unmodified lines
302303 # call recursive for loop!304 if node.recursive:305 write('context[\'loop\'].pop()')306 write('return u\'\'.join(buffer)')306 write('return u\'\'.join(loopbuffer)')307 self.indention -= 1308 write('context[\'loop\'] = LoopContext(None, context[\'loop\'], forloop)')309 write('write(forloop(%s))' % self.handle_node(node.seq))310
447 unmodified lines