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...
1 parent 5fe45cb commit 7d0bcc57275c6e80cc9bdac8cf0e8c8c00e58659 @adrianholovaty adrianholovaty committed Dec 9, 2005
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:

0 comments on commit 7d0bcc5

Please sign in to comment.