mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Removed an unused variable.
This commit is contained in:
@@ -149,7 +149,7 @@ def _strip_once(value):
|
|||||||
return value
|
return value
|
||||||
try:
|
try:
|
||||||
s.close()
|
s.close()
|
||||||
except (HTMLParseError, UnboundLocalError) as err:
|
except (HTMLParseError, UnboundLocalError):
|
||||||
# UnboundLocalError because of http://bugs.python.org/issue17802
|
# UnboundLocalError because of http://bugs.python.org/issue17802
|
||||||
# on Python 3.2, triggered by strict=False mode of HTMLParser
|
# on Python 3.2, triggered by strict=False mode of HTMLParser
|
||||||
return s.get_data() + s.rawdata
|
return s.get_data() + s.rawdata
|
||||||
|
|||||||
Reference in New Issue
Block a user