Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0060.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 |
---|---|
38 "main": "XEP_0060", | 38 "main": "XEP_0060", |
39 "handler": "yes", | 39 "handler": "yes", |
40 "description": _("""Implementation of PubSub Protocol""") | 40 "description": _("""Implementation of PubSub Protocol""") |
41 } | 41 } |
42 | 42 |
43 class XEP_0060(): | 43 class XEP_0060(object): |
44 | 44 |
45 def __init__(self, host): | 45 def __init__(self, host): |
46 info(_("PubSub plugin initialization")) | 46 info(_("PubSub plugin initialization")) |
47 self.host = host | 47 self.host = host |
48 self.managedNodes=[] | 48 self.managedNodes=[] |