projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51db6c9
)
Grammar.
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 15 Jan 2011 17:35:45 +0000
(18:35 +0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sat, 15 Jan 2011 17:35:45 +0000
(18:35 +0100)
jinja2/compiler.py
patch
|
blob
|
history
diff --git
a/jinja2/compiler.py
b/jinja2/compiler.py
index a4b5a2f91eb7d3c27d4e98af3aa8c18393a64a70..d0aadad521dd8396f4446e1373937ae3cdc73436 100644
(file)
--- a/
jinja2/compiler.py
+++ b/
jinja2/compiler.py
@@
-1089,7
+1089,7
@@
class CodeGenerator(NodeVisitor):
node.iter_child_nodes(only=('else_', 'test')), ('loop',)):
self.writeline("l_loop = environment.undefined(%r, name='loop')" %
("'loop' is undefined. the filter section of a loop as well "
- "as the else block do
es
n't have access to the special 'loop'"
+ "as the else block don't have access to the special 'loop'"
" variable of the current loop. Because there is no parent "
"loop it's undefined. Happened in loop on %s" %
self.position(node)))