From: Armin Ronacher Date: Fri, 23 Mar 2007 15:50:53 +0000 (+0100) Subject: [svn] fixed small jinja bug regarding includes and added release announcement to... X-Git-Tag: 2.0rc1~395 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6219da0a6e2d31c87e03e7558e561f8f569c1e05;p=jinja2.git [svn] fixed small jinja bug regarding includes and added release announcement to webpage. --HG-- branch : trunk --- 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