tools, plugin XEP-0077: small fixes

This commit is contained in:
souliane 2014-02-25 22:58:42 +01:00
commit 647db64941

View file

@ -62,7 +62,7 @@ class XEP_0077(object):
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)