From 80bfa43e0bf73e2c82c4b7b7f994b02ae7871b24 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 5 Mar 2007 18:27:06 +0100 Subject: [PATCH] [svn] fixed typo in recursive for loop --HG-- branch : trunk --- jinja/translators/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.26.2