comparison src/plugins/plugin_xep_0065.py @ 1199:96fb74a4714d

misc: fixed some typos
author Matteo Cypriani <mcy@lm7.fr>
date Mon, 15 Sep 2014 14:18:25 +0200
parents 9a85836f0d45
children f91e7028e2c3
comparison
equal deleted inserted replaced
1198:16ce9a6580a3 1199:96fb74a4714d
762 def __init__(self, plugin_parent): 762 def __init__(self, plugin_parent):
763 self.plugin_parent = plugin_parent 763 self.plugin_parent = plugin_parent
764 self.host = plugin_parent.host 764 self.host = plugin_parent.host
765 765
766 def _proxyDataResult(self, iq_elt): 766 def _proxyDataResult(self, iq_elt):
767 """Called with the informations about proxy according to XEP-0065 #4 767 """Called with the information about proxy according to XEP-0065 #4
768 Params should be filled with these infos""" 768 Params should be filled with these infos"""
769 if iq_elt["type"] == "error": 769 if iq_elt["type"] == "error":
770 log.warning(_("Can't determine proxy informations")) 770 log.warning(_("Can't determine proxy information"))
771 return 771 return
772 query_elt = iq_elt.firstChildElement() 772 query_elt = iq_elt.firstChildElement()
773 if query_elt.name != "query": 773 if query_elt.name != "query":
774 log.warning(_("Bad answer received from proxy")) 774 log.warning(_("Bad answer received from proxy"))
775 return 775 return