Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0100.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 |
---|---|
32 "dependencies": ["XEP-0077"], | 32 "dependencies": ["XEP-0077"], |
33 "main": "XEP_0100", | 33 "main": "XEP_0100", |
34 "description": _("""Implementation of Gateways protocol""") | 34 "description": _("""Implementation of Gateways protocol""") |
35 } | 35 } |
36 | 36 |
37 class XEP_0100(): | 37 class XEP_0100(object): |
38 | 38 |
39 def __init__(self, host): | 39 def __init__(self, host): |
40 info(_("Gateways plugin initialization")) | 40 info(_("Gateways plugin initialization")) |
41 self.host = host | 41 self.host = host |
42 self.__gateways = {} #dict used to construct the answer to findGateways. Key = target jid | 42 self.__gateways = {} #dict used to construct the answer to findGateways. Key = target jid |