mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
IRCNetwork: Unused attribute _selector_key
Was always None because the called function doesn't return a value. Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
parent
dcd0a28c89
commit
cb0af148d8
@ -1723,7 +1723,6 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils):
|
|||||||
self._queue = None
|
self._queue = None
|
||||||
self._ping_timer = None
|
self._ping_timer = None
|
||||||
self._socket = None
|
self._socket = None
|
||||||
self._selector_key = None
|
|
||||||
self._buffer = bytearray()
|
self._buffer = bytearray()
|
||||||
self._reconnect_thread = None
|
self._reconnect_thread = None
|
||||||
self._queue_thread = None
|
self._queue_thread = None
|
||||||
@ -1908,7 +1907,7 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils):
|
|||||||
# Make sure future reads never block, since select doesn't always guarantee this.
|
# Make sure future reads never block, since select doesn't always guarantee this.
|
||||||
self._socket.setblocking(False)
|
self._socket.setblocking(False)
|
||||||
|
|
||||||
self._selector_key = selectdriver.register(self)
|
selectdriver.register(self)
|
||||||
|
|
||||||
if self.ssl:
|
if self.ssl:
|
||||||
self._verify_ssl()
|
self._verify_ssl()
|
||||||
|
Loading…
Reference in New Issue
Block a user