comparison src/plugins/plugin_xep_0096.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
43 "main": "XEP_0096", 43 "main": "XEP_0096",
44 "handler": "no", 44 "handler": "no",
45 "description": _("""Implementation of SI File Transfer""") 45 "description": _("""Implementation of SI File Transfer""")
46 } 46 }
47 47
48 class XEP_0096(): 48 class XEP_0096(object):
49 49
50 def __init__(self, host): 50 def __init__(self, host):
51 info(_("Plugin XEP_0096 initialization")) 51 info(_("Plugin XEP_0096 initialization"))
52 self.host = host 52 self.host = host
53 self.managed_stream_m = [self.host.plugins["XEP-0065"].NAMESPACE, 53 self.managed_stream_m = [self.host.plugins["XEP-0065"].NAMESPACE,