From 7d0bcc57275c6e80cc9bdac8cf0e8c8c00e58659 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 9 Dec 2005 03:30:07 +0000 Subject: [PATCH] Fixed exception-handling bug in defaulttags SsiNode. Thanks, Henryk on IRC git-svn-id: http://code.djangoproject.com/svn/django/trunk@1582 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/template/defaulttags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/template/defaulttags.py b/django/core/template/defaulttags.py index 89b35c2513..c11a67838a 100644 --- a/django/core/template/defaulttags.py +++ b/django/core/template/defaulttags.py @@ -228,7 +228,7 @@ class SsiNode(Node): try: t = Template(output) return t.render(context) - except (TemplateSyntaxError, e): + except TemplateSyntaxError, e: if DEBUG: return "[Included template had syntax error: %s]" % e else: