mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed an unused variable.
This commit is contained in:
parent
96fc3908ad
commit
684e8a941b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue