diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-11 20:18:00 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-11 20:18:00 +0100 |
commit | ba7c7f4bb97a33c3af53ca5f2db05e032a682789 (patch) | |
tree | c32bb88c35e06d78fb21389eca202c9ea0138984 | |
parent | 7cde0db4aa990f5c45b080b57652fe48e750d604 (diff) | |
download | slixmpp-ba7c7f4bb97a33c3af53ca5f2db05e032a682789.tar.gz slixmpp-ba7c7f4bb97a33c3af53ca5f2db05e032a682789.tar.bz2 slixmpp-ba7c7f4bb97a33c3af53ca5f2db05e032a682789.tar.xz slixmpp-ba7c7f4bb97a33c3af53ca5f2db05e032a682789.zip |
slixmpp: remove asyncio hack for older python versions
-rw-r--r-- | slixmpp/__init__.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/slixmpp/__init__.py b/slixmpp/__init__.py index 94cd85cc..1badccb6 100644 --- a/slixmpp/__init__.py +++ b/slixmpp/__init__.py @@ -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 |