Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0020.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 |
---|---|
42 "main": "XEP_0020", | 42 "main": "XEP_0020", |
43 "handler": "yes", | 43 "handler": "yes", |
44 "description": _("""Implementation of Feature Negotiation""") | 44 "description": _("""Implementation of Feature Negotiation""") |
45 } | 45 } |
46 | 46 |
47 class XEP_0020(): | 47 class XEP_0020(object): |
48 | 48 |
49 def __init__(self, host): | 49 def __init__(self, host): |
50 info(_("Plugin XEP_0020 initialization")) | 50 info(_("Plugin XEP_0020 initialization")) |
51 | 51 |
52 def getHandler(self, profile): | 52 def getHandler(self, profile): |