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
|
|
@ -69,7 +69,7 @@ class XEP_0020(object):
|
|||
values = form.fields[field].values
|
||||
result[field] = values[0] if values else None
|
||||
if len(values) > 1:
|
||||
log.warning(_("More than one value choosed for %s, keeping the first one") % field)
|
||||
log.warning(_(u"More than one value choosed for %s, keeping the first one") % field)
|
||||
return result
|
||||
|
||||
def negociate(self, feature_elt, form_type, negociable_values):
|
||||
|
|
|
|||
Loading…
Reference in a new issue