Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed exception-handling bug in defaulttags SsiNode. Thanks, Henryk o…

…n IRC

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7d0bcc57275c6e80cc9bdac8cf0e8c8c00e58659 1 parent 5fe45cb
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/template/defaulttags.py
View
2  django/core/template/defaulttags.py
@@ -228,7 +228,7 @@ def render(self, context):
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:
Please sign in to comment.
Something went wrong with that request. Please try again.