Tidy up logging calls.
This commit is contained in:
@@ -123,7 +123,7 @@ class feature_mechanisms(base_plugin):
|
||||
|
||||
def _handle_fail(self, stanza):
|
||||
"""SASL authentication failed. Disconnect and shutdown."""
|
||||
log.info("Authentication failed: %s" , stanza['condition'])
|
||||
log.info("Authentication failed: %s", stanza['condition'])
|
||||
self.xmpp.event("failed_auth", stanza, direct=True)
|
||||
self.xmpp.disconnect()
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user