reactivated syntax error translations
authorArmin Ronacher <armin.ronacher@active-4.com>
Thu, 1 May 2008 20:20:38 +0000 (22:20 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Thu, 1 May 2008 20:20:38 +0000 (22:20 +0200)
--HG--
branch : trunk

jinja2/environment.py

index fec8801d26d527382705ed1d8aa68646d6fcfae1..ef916a45e14b0d49d70809420d6da9bdb354dfd8 100644 (file)
@@ -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