summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/sslproto.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-15 12:16:27 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-15 12:16:27 (GMT)
commit7e222f411cda575c336eaabbc4aa4d5b8addab89 (patch)
treefd8c73663bcda253d2e91e97e28efc18f1c84de8 /Lib/asyncio/sslproto.py
parent791009bb892de2991ea9a66ba1efbdaeb21b268f (diff)
downloadcpython-7e222f411cda575c336eaabbc4aa4d5b8addab89.zip
cpython-7e222f411cda575c336eaabbc4aa4d5b8addab89.tar.gz
cpython-7e222f411cda575c336eaabbc4aa4d5b8addab89.tar.bz2
SSLProtocol: set the _transport attribute in the constructor
Diffstat (limited to 'Lib/asyncio/sslproto.py')
-rw-r--r--Lib/asyncio/sslproto.py1
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.