From 256c304dae84fb172235fe28c9b36bdbbe487faa Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sat, 17 Nov 2007 23:13:01 +0100 Subject: [PATCH] fixed bug in parser, untagged 1.2 (ready for retagging) --HG-- branch : trunk --- .hgtags | 1 - jinja/parser.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.hgtags b/.hgtags index d49b211..e69de29 100644 --- a/.hgtags +++ b/.hgtags @@ -1 +0,0 @@ -870563da549d20ab1db45d438caef10c8ec1bf5d 1.2 diff --git a/jinja/parser.py b/jinja/parser.py index 40dccb2..b42ba74 100644 --- a/jinja/parser.py +++ b/jinja/parser.py @@ -108,10 +108,10 @@ class Parser(object): """ if self.stream: raise TemplateSyntaxError('raw directive does not support ' - 'any arguments.', lineno, + 'any arguments.', self.stream.lineno, self.filename) raise TemplateSyntaxError('missing end tag for raw directive.', - lineno, self.filename) + self.stream.lineno, self.filename) def parse_extends_directive(self): """ -- 2.26.2