Commit 6d254e5a authored by Alex Gaynor's avatar Alex Gaynor Committed by Tim Graham
Browse files

[1.7.x] Removed an unused variable.

Backport of 684e8a94 from master
parent d345a030
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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