comparison src/plugins/plugin_xep_0115.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
71 71
72 def __str__(self): 72 def __str__(self):
73 return "%s/%s/%s/%s" % (self.category, self.idType, self.lang, self.name) 73 return "%s/%s/%s/%s" % (self.category, self.idType, self.lang, self.name)
74 74
75 75
76 class XEP_0115(): 76 class XEP_0115(object):
77 cap_hash = None #capabilities hash is class variable as it is common to all profiles 77 cap_hash = None #capabilities hash is class variable as it is common to all profiles
78 #TODO: this code is really dirty, need to clean it and try to move it to Wokkel 78 #TODO: this code is really dirty, need to clean it and try to move it to Wokkel
79 79
80 def __init__(self, host): 80 def __init__(self, host):
81 info(_("Plugin XEP_0115 initialization")) 81 info(_("Plugin XEP_0115 initialization"))