From 6f64dac262afd11d4a03158a7072478dfc5155fc Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 21 Sep 2013 19:10:12 -0700 Subject: Add log message noting that SCRAM-SHA-1-PLUS requires Py3.3+ --- sleekxmpp/features/feature_mechanisms/mechanisms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py index ca94bce1..f71a9c25 100644 --- a/sleekxmpp/features/feature_mechanisms/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py @@ -100,6 +100,9 @@ class FeatureMechanisms(BasePlugin): if hasattr(self.xmpp.socket, 'get_channel_binding'): result[value] = self.xmpp.socket.get_channel_binding() else: + log.debug("Channel binding not supported.") + log.debug("Use Python 3.3+ for channel binding and " + \ + "SCRAM-SHA-1-PLUS support") result[value] = None elif value == 'host': result[value] = creds.get('host', self.xmpp.requested_jid.domain) -- cgit v1.2.3