summaryrefslogtreecommitdiff
path: root/sleekxmpp/features/feature_mechanisms
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-09-21 19:10:12 -0700
committerLance Stout <lancestout@gmail.com>2013-09-21 19:10:12 -0700
commit6f64dac262afd11d4a03158a7072478dfc5155fc (patch)
tree42d4a5354f01d56ca2422873dcd5247be1e76ae9 /sleekxmpp/features/feature_mechanisms
parentcd2d25cf874c5931b5c5a843c09875625bb9a84c (diff)
downloadslixmpp-6f64dac262afd11d4a03158a7072478dfc5155fc.tar.gz
slixmpp-6f64dac262afd11d4a03158a7072478dfc5155fc.tar.bz2
slixmpp-6f64dac262afd11d4a03158a7072478dfc5155fc.tar.xz
slixmpp-6f64dac262afd11d4a03158a7072478dfc5155fc.zip
Add log message noting that SCRAM-SHA-1-PLUS requires Py3.3+
Diffstat (limited to 'sleekxmpp/features/feature_mechanisms')
-rw-r--r--sleekxmpp/features/feature_mechanisms/mechanisms.py3
1 files changed, 3 insertions, 0 deletions
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)