Mercurial > libervia-backend
comparison frontends/quick_frontend/quick_chat.py @ 210:9face609f83c
misc minor typos fixes, dev version
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 20 Dec 2010 00:52:18 +1100 |
parents | 31632472e857 |
children |
comparison
equal
deleted
inserted
replaced
209:bab65733980a | 210:9face609f83c |
---|---|
70 debug(_("Removing user %s") % nick) | 70 debug(_("Removing user %s") % nick) |
71 if self.type != "group": | 71 if self.type != "group": |
72 error (_("[INTERNAL] trying to remove user for a non group chat window")) | 72 error (_("[INTERNAL] trying to remove user for a non group chat window")) |
73 raise Exception("INTERNAL ERROR") #TODO: raise proper Exception here | 73 raise Exception("INTERNAL ERROR") #TODO: raise proper Exception here |
74 self.occupants.remove(nick) | 74 self.occupants.remove(nick) |
75 self.printInfo("=> %s has left the room" % nick) | 75 self.printInfo("<= %s has left the room" % nick) |
76 | 76 |
77 def setSubject(self, subject): | 77 def setSubject(self, subject): |
78 """Set title for a group chat""" | 78 """Set title for a group chat""" |
79 debug(_("Setting subject to %s") % subject) | 79 debug(_("Setting subject to %s") % subject) |
80 if self.type != "group": | 80 if self.type != "group": |