Fixed logging.WARNING typo
This commit is contained in:
parent
09199c10df
commit
20b15872ee
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class _JSONP_PollingTransport(_AbstractTransport):
|
|||
self._id, response_text = self.RESPONSE_PATTERN.match(
|
||||
response_text).groups()
|
||||
except AttributeError:
|
||||
self._log(self.WARNING, '[packet error] %s', response_text)
|
||||
self._log(logging.WARNING, '[packet error] %s', response_text)
|
||||
return
|
||||
if not response_text.startswith(BOUNDARY):
|
||||
yield response_text.decode('unicode_escape')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue