mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
[1.7.x] Removed an unused variable.
Backport of 684e8a941b from master
This commit is contained in:
parent
d345a030c2
commit
6d254e5a97
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user