Merge branch 'remove-old-python-workaround' into 'master'

slixmpp: remove asyncio hack for older python versions

See merge request poezio/slixmpp!124
This commit is contained in:
Link Mauve 2021-02-11 20:21:37 +01:00
commit bfbc433c8d

View file

@ -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