Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-08-12 12:17:02 +0400
committerYann Leboulanger <asterix@lagaule.org>2008-08-12 12:17:02 +0400
commitcdffa9464163ac91831121d483b9096bda6ec7ec (patch)
treef69ef5bcf1fda8c1c0d996cc459465762feceda5
parenta6ff8bac5ee022c66f62dec6e3eea8df5e506634 (diff)
some coding standards
-rwxr-xr-xsrc/gajim.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gajim.py b/src/gajim.py
index 63b381a3c..0b774d864 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -2619,7 +2619,7 @@ class Interface:
is_continued=is_continued)
mw.new_tab(gc_control)
- def new_private_chat(self, gc_contact, account, session = None):
+ def new_private_chat(self, gc_contact, account, session=None):
contact = gajim.contacts.contact_from_gc_contact(gc_contact)
type_ = message_control.TYPE_PM
fjid = gc_contact.room_jid + '/' + gc_contact.name
@@ -2660,7 +2660,7 @@ class Interface:
return session.control
- def new_chat(self, contact, account, resource = None, session = None):
+ def new_chat(self, contact, account, resource=None, session=None):
# Get target window, create a control, and associate it with the window
type_ = message_control.TYPE_CHAT
@@ -2725,8 +2725,8 @@ class Interface:
ctrl = win.get_control(fjid, account)
if not ctrl:
- ctrl = self.new_chat(contact, account,
- resource = resource, session = session)
+ ctrl = self.new_chat(contact, account, resource=resource,
+ session=session)
# last message is long time ago
gajim.last_message_time[account][ctrl.get_full_jid()] = 0