From e16c6fff1c895e5d90428cd261b3d33f239c6bba Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Mon, 18 Apr 2011 15:51:29 +0200 Subject: [PATCH] Style changes: Use != instead of <> --- jabberbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jabberbot.py b/jabberbot.py index d257ec2..8b84dbd 100644 --- a/jabberbot.py +++ b/jabberbot.py @@ -143,14 +143,14 @@ class JabberBot(object): if not conres: self.log.error('unable to connect to server %s.' % self.jid.getDomain()) return None - if conres <> 'tls': + if conres != 'tls': self.log.warning('unable to establish secure connection - TLS failed!') authres = conn.auth(self.jid.getNode(), self.__password, self.res) if not authres: self.log.error('unable to authorize with server.') return None - if authres <> 'sasl': + if authres != 'sasl': self.log.warning("unable to perform SASL auth os %s. Old authentication method used!" % self.jid.getDomain()) conn.sendInitPresence() -- 2.11.4.GIT