projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0016f5
)
More correct fix for 380. The only thing that is part of the outer scope
author
Armin Ronacher
<armin.ronacher@active-4.com>
Thu, 14 Jan 2010 00:26:40 +0000
(
01:26
+0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Thu, 14 Jan 2010 00:26:40 +0000
(
01:26
+0100)
is the name of the thing to call. Though because it will never be able to
track store nodes, the one before should not do harm either.
--HG--
branch : trunk
jinja2/compiler.py
patch
|
blob
|
history
diff --git
a/jinja2/compiler.py
b/jinja2/compiler.py
index bcb228764445ba3396424a0def796d780d2a65f3..ab1afee7db922eea45f4a1c27480a7aa88cb56e3 100644
(file)
--- a/
jinja2/compiler.py
+++ b/
jinja2/compiler.py
@@
-327,8
+327,7
@@
class FrameIdentifierVisitor(NodeVisitor):
self.visit(node.iter)
def visit_CallBlock(self, node):
- for child in node.iter_child_nodes(exclude=('body', 'args')):
- self.visit(child)
+ self.visit(node.call)
def visit_FilterBlock(self, node):
self.visit(node.filter)