comparison frontends/src/quick_frontend/quick_chat_list.py @ 638:6821fc06a324

misc: a few "cosmetic" changes (PEP 8...)
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 20:57:00 +0200
parents 84a6e83157c2
children 99eee75ec1b7
comparison
equal deleted inserted replaced
637:3b02554d4c8b 638:6821fc06a324
31 def __getitem__(self,to_jid): 31 def __getitem__(self,to_jid):
32 target=JID(to_jid) 32 target=JID(to_jid)
33 if not self.has_key(target.short): 33 if not self.has_key(target.short):
34 #we have to create the chat win 34 #we have to create the chat win
35 self[target.short] = self.createChat(target) 35 self[target.short] = self.createChat(target)
36 return dict.__getitem__(self,target.short) 36 return dict.__getitem__(self, target.short)
37 37
38 def createChat(self, target): 38 def createChat(self, target):
39 raise NotImplementedError 39 raise NotImplementedError