changeset 2183:1b42bd8c10fb

plugin XEP-0077: minor raise fix
author Goffi <goffi@goffi.org>
date Sun, 12 Mar 2017 19:33:25 +0100
parents 087eec4c6c07
children e0f91efa404a
files src/plugins/plugin_xep_0077.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):