From ba7c7f4bb97a33c3af53ca5f2db05e032a682789 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 11 Feb 2021 20:18:00 +0100 Subject: slixmpp: remove asyncio hack for older python versions --- slixmpp/__init__.py | 5 ----- 1 file changed, 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 -- cgit v1.2.3