Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0065.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 |
---|---|
437 def clientConnectionLost(self, connector, reason): | 437 def clientConnectionLost(self, connector, reason): |
438 debug (_("Socks 5 client connection lost (reason: %s)"), reason) | 438 debug (_("Socks 5 client connection lost (reason: %s)"), reason) |
439 self.finishedCb(self.sid, reason.type == jab_error.ConnectionDone, self.profile) #TODO: really check if the state is actually successful | 439 self.finishedCb(self.sid, reason.type == jab_error.ConnectionDone, self.profile) #TODO: really check if the state is actually successful |
440 | 440 |
441 | 441 |
442 class XEP_0065(): | 442 class XEP_0065(object): |
443 | 443 |
444 NAMESPACE = NS_BS | 444 NAMESPACE = NS_BS |
445 | 445 |
446 params = """ | 446 params = """ |
447 <params> | 447 <params> |