From: Armin Ronacher Date: Mon, 5 Mar 2007 17:27:06 +0000 (+0100) Subject: [svn] fixed typo in recursive for loop X-Git-Tag: 2.0rc1~461 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80bfa43e0bf73e2c82c4b7b7f994b02ae7871b24;p=jinja2.git [svn] fixed typo in recursive for loop --HG-- branch : trunk --- diff --git a/jinja/translators/python.py b/jinja/translators/python.py index be8eb3a..fd81783 100644 --- a/jinja/translators/python.py +++ b/jinja/translators/python.py @@ -303,7 +303,7 @@ class PythonTranslator(Translator): # call recursive for loop! if node.recursive: write('context[\'loop\'].pop()') - write('return u\'\'.join(buffer)') + write('return u\'\'.join(loopbuffer)') self.indention -= 1 write('context[\'loop\'] = LoopContext(None, context[\'loop\'], forloop)') write('write(forloop(%s))' % self.handle_node(node.seq))