summaryrefslogtreecommitdiff
path: root/django/utils/html.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-03-22 10:11:39 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-03-22 10:11:39 -0700
commit684e8a941bd0d08504718996c1afaf57957ce070 (patch)
treedda4b962486df4a84a2f99e965913ca46d4dadcf /django/utils/html.py
parent96fc3908ad25f40b4c6e2f76be2639f665223227 (diff)
Removed an unused variable.
Diffstat (limited to 'django/utils/html.py')
-rw-r--r--django/utils/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/html.py b/django/utils/html.py
index 8be7fd5153..d0ae23b77f 100644
--- a/django/utils/html.py
+++ b/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