projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ee3095
)
fixed but in requirement extraction that came up because the template node doesn...
author
Armin Ronacher
<armin.ronacher@active-4.com>
Thu, 18 Oct 2007 21:15:40 +0000
(23:15 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Thu, 18 Oct 2007 21:15:40 +0000
(23:15 +0200)
--HG--
branch : trunk
jinja/translators/python.py
patch
|
blob
|
history
diff --git
a/jinja/translators/python.py
b/jinja/translators/python.py
index f7607438e06fa66e8cf076b0399469b00a27ee9e..04b9aed774ee00af6a2462971f46ab6ebc1b7535 100644
(file)
--- a/
jinja/translators/python.py
+++ b/
jinja/translators/python.py
@@
-322,7
+322,7
@@
class PythonTranslator(Translator):
# the master layout template is loaded. This can be used
# for further processing. The output of those nodes does
# not appear in the final template.
- requirements += [child for child in node.get_child_nodes()
+ requirements += [child for child in node.
body.
get_child_nodes()
if child.__class__ not in (nodes.Text,
nodes.Block)]