diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-12-09 03:30:07 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-12-09 03:30:07 +0000 |
| commit | 7d0bcc57275c6e80cc9bdac8cf0e8c8c00e58659 (patch) | |
| tree | 8eccd0e913e780d5e8a9d7f4812c58abceb529e7 | |
| parent | 5fe45cb0f851ea083c1e25664ded93432a62ab05 (diff) | |
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
| -rw-r--r-- | django/core/template/defaulttags.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
