[svn] this should fix #218
authorArmin Ronacher <armin.ronacher@active-4.com>
Mon, 5 Mar 2007 17:04:22 +0000 (18:04 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Mon, 5 Mar 2007 17:04:22 +0000 (18:04 +0100)
--HG--
branch : trunk

jinja/translators/python.py

index 4998f15e2282f7a7363ea6374c23606262a40983..cef66b0d5a83fdc3deb529c3c124b2b885bc1e9e 100644 (file)
@@ -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)