diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-15 12:16:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-15 12:16:27 (GMT) |
commit | 7e222f411cda575c336eaabbc4aa4d5b8addab89 (patch) | |
tree | fd8c73663bcda253d2e91e97e28efc18f1c84de8 /Lib/asyncio | |
parent | 791009bb892de2991ea9a66ba1efbdaeb21b268f (diff) | |
download | cpython-7e222f411cda575c336eaabbc4aa4d5b8addab89.zip cpython-7e222f411cda575c336eaabbc4aa4d5b8addab89.tar.gz cpython-7e222f411cda575c336eaabbc4aa4d5b8addab89.tar.bz2 |
SSLProtocol: set the _transport attribute in the constructor
Diffstat (limited to 'Lib/asyncio')
-rw-r--r-- | Lib/asyncio/sslproto.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py index c7fb4e7..117dc56 100644 --- a/Lib/asyncio/sslproto.py +++ b/Lib/asyncio/sslproto.py @@ -417,6 +417,7 @@ class SSLProtocol(protocols.Protocol): self._session_established = False self._in_handshake = False self._in_shutdown = False + self._transport = None def connection_made(self, transport): """Called when the low-level connection is made. |