diff 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
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0077.py	Sun Mar 12 19:33:17 2017 +0100
+++ b/src/plugins/plugin_xep_0077.py	Sun Mar 12 19:33:25 2017 +0100
@@ -73,7 +73,7 @@
     def registrationEb(self, failure_):
         log.info(_("Registration failure: {}").format(unicode(failure_.value)))
         self.xmlstream.sendFooter()
-        raise failure_.value
+        raise failure_
 
 
 class XEP_0077(object):