Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.7.x] Removed an unused variable.

Backport of 684e8a9 from master
  • Loading branch information...
commit 6d254e5a97e719800846e34058ae9752172dbb0e 1 parent d345a03
Alex Gaynor alex authored timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/html.py
2  django/utils/html.py
View
@@ -151,7 +151,7 @@ def _strip_once(value):
return value
try:
s.close()
- except (HTMLParseError, UnboundLocalError) as err:
+ except (HTMLParseError, UnboundLocalError):
# UnboundLocalError because of http://bugs.python.org/issue17802
# on Python 3.2, triggered by strict=False mode of HTMLParser
return s.get_data() + s.rawdata
Please sign in to comment.
Something went wrong with that request. Please try again.