slixmpp: remove asyncio hack for older python versions
This commit is contained in:
parent
7cde0db4aa
commit
ba7c7f4bb9
1 changed files with 0 additions and 5 deletions
|
@ -6,11 +6,6 @@
|
|||
import logging
|
||||
logging.getLogger(__name__).addHandler(logging.NullHandler())
|
||||
|
||||
import asyncio
|
||||
# Required for python < 3.7 to use the old ssl implementation
|
||||
# and manage to do starttls as an unintended side effect
|
||||
asyncio.sslproto._is_sslproto_available = lambda: False
|
||||
|
||||
from slixmpp.stanza import Message, Presence, Iq
|
||||
from slixmpp.jid import JID, InvalidJID
|
||||
from slixmpp.xmlstream.stanzabase import ET, ElementBase, register_stanza_plugin
|
||||
|
|
Loading…
Reference in a new issue