summaryrefslogtreecommitdiff
path: root/Lib/asyncio/sslproto.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2019-05-27 16:28:34 +0300
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-27 06:28:34 -0700
commit1f39c28e489cca0397fc4c3675d13569318122ac (patch)
tree60e976746b5353b636d9db95e8a8728c4a1f3f6c /Lib/asyncio/sslproto.py
parentff6b2e66b19a26b4c2ab57e62e1ab9f3d94dd76a (diff)
downloadcpython-git-1f39c28e489cca0397fc4c3675d13569318122ac.tar.gz
bpo-37035: Don't log OSError (GH-13548)
https://bugs.python.org/issue37035
Diffstat (limited to 'Lib/asyncio/sslproto.py')
-rw-r--r--Lib/asyncio/sslproto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 8546985fe6..3eca6b4a39 100644
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -707,7 +707,7 @@ class SSLProtocol(protocols.Protocol):
self._fatal_error(exc, 'Fatal error on SSL transport')
def _fatal_error(self, exc, message='Fatal error on transport'):
- if isinstance(exc, base_events._FATAL_ERROR_IGNORE):
+ if isinstance(exc, OSError):
if self._loop.get_debug():
logger.debug("%r: %s", self, message, exc_info=True)
else: