Mercurial > libervia-backend
comparison frontends/src/quick_frontend/quick_chat.py @ 588:beaf6bec2fcd
Remove every old-style class.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | 84a6e83157c2 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
22 from logging import debug, info, warning, error | 22 from logging import debug, info, warning, error |
23 from sat.tools.jid import JID | 23 from sat.tools.jid import JID |
24 from sat_frontends.quick_frontend.quick_utils import unescapePrivate | 24 from sat_frontends.quick_frontend.quick_utils import unescapePrivate |
25 | 25 |
26 | 26 |
27 class QuickChat(): | 27 class QuickChat(object): |
28 | 28 |
29 def __init__(self, target, host, type='one2one'): | 29 def __init__(self, target, host, type='one2one'): |
30 self.target = target | 30 self.target = target |
31 self.host = host | 31 self.host = host |
32 self.type = type | 32 self.type = type |