massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
This commit is contained in:
parent
cc829beac7
commit
67ff77e5de
1 changed files with 272 additions and 271 deletions
|
|
@ -121,7 +121,7 @@ class XEP_0055(object):
|
|||
|
||||
def _fieldsErr(self, failure, profile):
|
||||
""" Called when something is wrong with fields request """
|
||||
log.info(_("Fields request failure: %s") % str(failure.value))
|
||||
log.info(_("Fields request failure: %s") % unicode(failure.value))
|
||||
return failure
|
||||
|
||||
def _xmluiSearchRequest(self, raw_data, profile):
|
||||
|
|
@ -179,5 +179,5 @@ class XEP_0055(object):
|
|||
|
||||
def _searchErr(self, failure, profile):
|
||||
""" Called when something is wrong with search request """
|
||||
log.info(_("Search request failure: %s") % str(failure.value))
|
||||
log.info(_("Search request failure: %s") % unicode(failure.value))
|
||||
return failure
|
||||
|
|
|
|||
Loading…
Reference in a new issue