comparison src/plugins/plugin_xep_0163.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 ca13633d3b6b
children e629371a28d3
comparison
equal deleted inserted replaced
587:952322b1d490 588:beaf6bec2fcd
40 "main": "XEP_0163", 40 "main": "XEP_0163",
41 "handler": "no", 41 "handler": "no",
42 "description": _("""Implementation of Personal Eventing Protocol""") 42 "description": _("""Implementation of Personal Eventing Protocol""")
43 } 43 }
44 44
45 class XEP_0163(): 45 class XEP_0163(object):
46 46
47 def __init__(self, host): 47 def __init__(self, host):
48 info(_("PEP plugin initialization")) 48 info(_("PEP plugin initialization"))
49 self.host = host 49 self.host = host
50 self.pep_events=set() 50 self.pep_events=set()