diff options
author | mathieui <mathieui@mathieui.net> | 2015-09-14 23:14:53 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-09-14 23:14:53 +0200 |
commit | 82e549c0e9b6c0d5a8302c4072039512fef84e31 (patch) | |
tree | 9791de73e964bf283ebfbc6005a1c6238c64cf7f /slixmpp/__init__.py | |
parent | 1aa15792b4cddfd77c5535ab43c6d663f33a7aed (diff) | |
download | slixmpp-82e549c0e9b6c0d5a8302c4072039512fef84e31.tar.gz slixmpp-82e549c0e9b6c0d5a8302c4072039512fef84e31.tar.bz2 slixmpp-82e549c0e9b6c0d5a8302c4072039512fef84e31.tar.xz slixmpp-82e549c0e9b6c0d5a8302c4072039512fef84e31.zip |
(Temporary) fix for python 3.5
This will work until the old ssl implementation is finally deprecated.
Hopefully, new features to painlessy implement starttls will be around
by then.
Diffstat (limited to 'slixmpp/__init__.py')
-rw-r--r-- | slixmpp/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slixmpp/__init__.py b/slixmpp/__init__.py index 0730cc60..c09446df 100644 --- a/slixmpp/__init__.py +++ b/slixmpp/__init__.py @@ -6,6 +6,8 @@ See the file LICENSE for copying permission. """ +import asyncio +asyncio.sslproto._is_sslproto_available=lambda: False import logging logging.getLogger(__name__).addHandler(logging.NullHandler()) |