Skip to content
Myr

fixed bug in jinja filter parser (why the fuck was there no unittest for that??) XXX: add unittest

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 306971d · Browse files · 1 file+1 added−0 removed
This commit

State

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

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:jinja/parser.py+1 added
221 unmodified lines
222 self.stream.expect('pipe')223 token = self.stream.expect('name')224 args = []225 if self.stream.current.type == 'lparen':226 self.stream.next()227 while self.stream.current.type != 'rparen':228 if args:229 self.stream.expect('comma')230 args.append(self.parse_expression())
941 unmodified lines