From 0de0f31d91a30f8502e2dece1b181a318baeb4ca Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 20 Nov 2006 00:09:18 +0000 Subject: [PATCH] coding stds --- src/common/connection.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 771fb31b9..4dc864ddb 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -168,11 +168,10 @@ class Connection(ConnectionHandlers): if realm == common.xmpp.NS_REGISTER: if event == common.xmpp.features_nb.REGISTER_DATA_RECEIVED: # data is (agent, DataFrom, is_form) - if self.new_account_info and\ + if self.new_account_info and \ self.new_account_info['hostname'] == data[0]: - #it's a new account + # it's a new account if not data[1]: # wrong answer - print self.connection.lastErr self.dispatch('ACC_NOT_OK', ( _('Transport %s answered wrongly to register request.') % \ data[0]))