Skip to content
Myr

fixed bug in parser, untagged 1.2 (ready for retagging)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent df02098 · Browse files · 2 files+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−3 removed

  • other:+2 added−3 removed

2 files+2 added−3 removed

modified:jinja/parser.py+2 added-2 removed
106 unmodified lines
107 case present the user a useful error message.108 """109 if self.stream:110 raise TemplateSyntaxError('raw directive does not support '111 'any arguments.', lineno,111 'any arguments.', self.stream.lineno,112 self.filename)113 raise TemplateSyntaxError('missing end tag for raw directive.',114 lineno, self.filename)114 self.stream.lineno, self.filename)115116 def parse_extends_directive(self):117 """118 Handle the extends directive used for inheritance.
1065 unmodified lines
modified:.hgtags-1 removed
1870563da549d20ab1db45d438caef10c8ec1bf5d 1.2