Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed an unused variable.

  • Loading branch information...
commit 684e8a941bd0d08504718996c1afaf57957ce070 1 parent 96fc390
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/html.py
View
2  django/utils/html.py
@@ -149,7 +149,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.