Kaydet (Commit) 7d0bcc57 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 5fe45cb0
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment