Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0047.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 |
---|---|
55 "main": "XEP_0047", | 55 "main": "XEP_0047", |
56 "handler": "yes", | 56 "handler": "yes", |
57 "description": _("""Implementation of In-Band Bytestreams""") | 57 "description": _("""Implementation of In-Band Bytestreams""") |
58 } | 58 } |
59 | 59 |
60 class XEP_0047(): | 60 class XEP_0047(object): |
61 NAMESPACE = NS_IBB | 61 NAMESPACE = NS_IBB |
62 | 62 |
63 def __init__(self, host): | 63 def __init__(self, host): |
64 info(_("In-Band Bytestreams plugin initialization")) | 64 info(_("In-Band Bytestreams plugin initialization")) |
65 self.host = host | 65 self.host = host |