From 6002ce9940326ffc1254a4db175d8b401be31207 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Mon, 5 Mar 2007 18:04:22 +0100 Subject: [PATCH] [svn] this should fix #218 --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 4998f15..cef66b0 100644 --- a/jinja/translators/python.py +++ b/jinja/translators/python.py @@ -447,7 +447,7 @@ class PythonTranslator(Translator): buf = [self.indent('# INCLUDED TEMPLATE %r' % node.filename)] tmpl = self.environment.loader.parse(node.template, node.filename) - buf.append(self.handle_node(tmpl)) + buf.append(self.handle_nodelist(tmpl)) buf.append(self.indent('# END OF INCLUSION')) return '\n'.join(buf) -- 2.26.2