From 6219da0a6e2d31c87e03e7558e561f8f569c1e05 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Fri, 23 Mar 2007 16:50:53 +0100 Subject: [PATCH] [svn] fixed small jinja bug regarding includes and added release announcement to webpage. --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 3c9902c..1c5de59 100644 --- a/jinja/translators/python.py +++ b/jinja/translators/python.py @@ -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 -- 2.26.2