Add log message noting that SCRAM-SHA-1-PLUS requires Py3.3+

This commit is contained in:
Lance Stout 2013-09-21 19:10:12 -07:00
parent cd2d25cf87
commit 6f64dac262

View file

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