From c851607cef48bb257b570df9d70f6673174dea63 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Thu, 1 May 2008 22:20:38 +0200 Subject: [PATCH] reactivated syntax error translations --HG-- branch : trunk --- jinja2/environment.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jinja2/environment.py b/jinja2/environment.py index fec8801..ef916a4 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 -- 2.26.2