Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0045.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 | e629371a28d3 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
47 } | 47 } |
48 | 48 |
49 class UnknownRoom(Exception): | 49 class UnknownRoom(Exception): |
50 pass | 50 pass |
51 | 51 |
52 class XEP_0045(): | 52 class XEP_0045(object): |
53 | 53 |
54 def __init__(self, host): | 54 def __init__(self, host): |
55 info(_("Plugin XEP_0045 initialization")) | 55 info(_("Plugin XEP_0045 initialization")) |
56 self.host = host | 56 self.host = host |
57 self.clients={} | 57 self.clients={} |