[svn] fixed small jinja bug regarding includes and added release announcement to...
authorArmin Ronacher <armin.ronacher@active-4.com>
Fri, 23 Mar 2007 15:50:53 +0000 (16:50 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Fri, 23 Mar 2007 15:50:53 +0000 (16:50 +0100)
--HG--
branch : trunk

jinja/translators/python.py

index 3c9902cfb142341324be0abe2c178c691e78ce96..1c5de59bd3cbf4a170708b360232c91212a0d48f 100644 (file)
@@ -284,7 +284,7 @@ class PythonTranslator(Translator):
         requirements = []
         for req in requirements_todo:
             for n in req:
-                if n.__class__ in (nodes.Set, nodes.Macro):
+                if n.__class__ in (nodes.Set, nodes.Macro, nodes.Include):
                     requirements.append(n)
 
         # bootstrapping code