From 684e8a941bd0d08504718996c1afaf57957ce070 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 22 Mar 2014 10:11:39 -0700 Subject: [PATCH] Removed an unused variable. --- django/utils/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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