massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions

This commit is contained in:
souliane 2015-04-16 14:57:57 +02:00
commit 67ff77e5de

View file

@ -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):