plugin XEP-0055: remove a "debug" break that has been forgotten here

This commit is contained in:
souliane 2015-09-02 13:54:57 +02:00
commit bdd5648509

View file

@ -265,6 +265,7 @@ class XEP_0055(object):
else:
main_ui.addText(D_("The search gave no result"))
## Retrieve the search fields ##
@ -376,9 +377,9 @@ class XEP_0055(object):
"""
form = data_form.Form.fromElement(form_elt)
d_list = []
for field in [field.var for field in form.fieldList if field.var]:
d_list.append(self.searchRequest(to_jid, {field: value}, profile_key))
break
def cb(result): # return the results compiled in one domish element
result_elt = None