Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0077.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 |
---|---|
36 "dependencies": [], | 36 "dependencies": [], |
37 "main": "XEP_0077", | 37 "main": "XEP_0077", |
38 "description": _("""Implementation of in-band registration""") | 38 "description": _("""Implementation of in-band registration""") |
39 } | 39 } |
40 | 40 |
41 class XEP_0077(): | 41 class XEP_0077(object): |
42 | 42 |
43 def __init__(self, host): | 43 def __init__(self, host): |
44 info(_("Plugin XEP_0077 initialization")) | 44 info(_("Plugin XEP_0077 initialization")) |
45 self.host = host | 45 self.host = host |
46 self.triggers = {} #used by other protocol (e.g. XEP-0100) to finish registration. key = target_jid | 46 self.triggers = {} #used by other protocol (e.g. XEP-0100) to finish registration. key = target_jid |