From 008c98da44edd752b089b661d845632961fd8fe0 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Fri, 26 Jun 2009 19:33:46 +0200
Subject: [PATCH] some coding standards

---
 src/chat_control.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/chat_control.py b/src/chat_control.py
index f54c56a156..8a53005d4e 100644
--- a/src/chat_control.py
+++ b/src/chat_control.py
@@ -1781,8 +1781,7 @@ class ChatControl(ChatControlBase):
 		else:
 			self.print_conversation(_('No help info for /%s') % command, 'info')
 
-	def send_message(self, message, keyID = '', chatstate = None,
-	xhtml = None):
+	def send_message(self, message, keyID='', chatstate=None, xhtml=None):
 		'''Send a message to contact'''
 		if message in ('', None, '\n') or self._process_command(message):
 			return None
@@ -1846,9 +1845,8 @@ class ChatControl(ChatControlBase):
 			else:
 				xep0184_id = None
 
-			self.print_conversation(message, self.contact.jid,
-				encrypted = encrypted, xep0184_id = xep0184_id,
-				xhtml = xhtml)
+			self.print_conversation(message, self.contact.jid, encrypted=encrypted,
+				xep0184_id=xep0184_id, xhtml=xhtml)
 
 		ChatControlBase.send_message(self, message, keyID, type_='chat',
 			chatstate=chatstate_to_send, composing_xep=composing_xep,
-- 
GitLab