comparison src/plugins/plugin_xep_0095.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
50 "main": "XEP_0095", 50 "main": "XEP_0095",
51 "handler": "yes", 51 "handler": "yes",
52 "description": _("""Implementation of Stream Initiation""") 52 "description": _("""Implementation of Stream Initiation""")
53 } 53 }
54 54
55 class XEP_0095(): 55 class XEP_0095(object):
56 56
57 def __init__(self, host): 57 def __init__(self, host):
58 info(_("Plugin XEP_0095 initialization")) 58 info(_("Plugin XEP_0095 initialization"))
59 self.host = host 59 self.host = host
60 self.si_profiles = {} #key: SI profile, value: callback 60 self.si_profiles = {} #key: SI profile, value: callback