Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0115.py Fri Jan 18 17:55:34 2013 +0100 +++ b/src/plugins/plugin_xep_0115.py Fri Jan 18 17:55:35 2013 +0100 @@ -73,7 +73,7 @@ return "%s/%s/%s/%s" % (self.category, self.idType, self.lang, self.name) -class XEP_0115(): +class XEP_0115(object): cap_hash = None #capabilities hash is class variable as it is common to all profiles #TODO: this code is really dirty, need to clean it and try to move it to Wokkel