diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-03-22 10:11:39 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-22 13:17:51 -0400 |
| commit | 6d254e5a97e719800846e34058ae9752172dbb0e (patch) | |
| tree | cb72af5a877e6758a358c275adc8c69c4a565bcd | |
| parent | d345a030c2f3b332512e5091248dd8b06e859eac (diff) | |
[1.7.x] Removed an unused variable.
Backport of 684e8a941b from master
| -rw-r--r-- | django/utils/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/html.py b/django/utils/html.py index db2a21a4dc..a3de585707 100644 --- a/django/utils/html.py +++ b/django/utils/html.py @@ -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 |
