From: Armin Ronacher Date: Mon, 5 Mar 2007 17:04:22 +0000 (+0100) Subject: [svn] this should fix #218 X-Git-Tag: 2.0rc1~464 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6002ce9940326ffc1254a4db175d8b401be31207;p=jinja2.git [svn] this should fix #218 --HG-- branch : trunk --- 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)