diff src/plugins/plugin_xep_0077.py @ 876:65bf1bc70f6b

tools, plugin XEP-0077: small fixes
author souliane <souliane@mailoo.org>
date Tue, 25 Feb 2014 22:58:42 +0100
parents 1fe00f0c9a91
children 1a759096ccbd
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0077.py	Tue Feb 25 18:47:15 2014 +0100
+++ b/src/plugins/plugin_xep_0077.py	Tue Feb 25 22:58:42 2014 +0100
@@ -62,7 +62,7 @@
         except StopIteration:
             # XXX: it seems we have an old service which doesn't manage data forms
             warning(_("Can't find data form"))
-            raise DataError(_("This gateway can't be managed by SàT, sorry :("))
+            raise exceptions.DataError(_("This gateway can't be managed by SàT, sorry :("))
 
         def submitForm(data, profile):
             form_elt = xml_tools.XMLUIResultToElt(data)