From: Armin Ronacher Date: Thu, 1 May 2008 20:20:38 +0000 (+0200) Subject: reactivated syntax error translations X-Git-Tag: 2.0rc1~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c851607cef48bb257b570df9d70f6673174dea63;p=thirdparty%2Fjinja.git reactivated syntax error translations --HG-- branch : trunk --- diff --git a/jinja2/environment.py b/jinja2/environment.py index fec8801d..ef916a45 100644 --- a/jinja2/environment.py +++ b/jinja2/environment.py @@ -284,7 +284,6 @@ class Environment(object): try: return Parser(self, source, filename).parse() except TemplateSyntaxError, e: - raise exc_type, exc_value, tb = translate_syntax_error(e) raise exc_type, exc_value, tb