comparison src/plugins/plugin_xep_0077.py @ 2183:1b42bd8c10fb

plugin XEP-0077: minor raise fix
author Goffi <goffi@goffi.org>
date Sun, 12 Mar 2017 19:33:25 +0100
parents 09cfec4d8d19
children 8b37a62336c3
comparison
equal deleted inserted replaced
2182:087eec4c6c07 2183:1b42bd8c10fb
71 self.xmlstream.sendFooter() 71 self.xmlstream.sendFooter()
72 72
73 def registrationEb(self, failure_): 73 def registrationEb(self, failure_):
74 log.info(_("Registration failure: {}").format(unicode(failure_.value))) 74 log.info(_("Registration failure: {}").format(unicode(failure_.value)))
75 self.xmlstream.sendFooter() 75 self.xmlstream.sendFooter()
76 raise failure_.value 76 raise failure_
77 77
78 78
79 class XEP_0077(object): 79 class XEP_0077(object):
80 80
81 def __init__(self, host): 81 def __init__(self, host):