comparison src/plugins/plugin_misc_account.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
76 else: 76 else:
77 error(_(u"Can't register Prosody account (error code: %(code)d): %(message)s") % {'code': reason.value.exitCode, 'message': self.data}) 77 error(_(u"Can't register Prosody account (error code: %(code)d): %(message)s") % {'code': reason.value.exitCode, 'message': self.data})
78 self.deferred.errback("INTERNAL") 78 self.deferred.errback("INTERNAL")
79 79
80 80
81 class MiscAccount(): 81 class MiscAccount(object):
82 """Account plugin: create a SàT + Prosody account, used by Libervia""" 82 """Account plugin: create a SàT + Prosody account, used by Libervia"""
83 #XXX: This plugin is a Q&D one used for the demo. Something more generic (and not 83 #XXX: This plugin is a Q&D one used for the demo. Something more generic (and not
84 # only focused on Prosody) is planed 84 # only focused on Prosody) is planed
85 _prosody_path = _PROSODY_PATH or '' 85 _prosody_path = _PROSODY_PATH or ''
86 86