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

@ -153,7 +153,7 @@ def dataFormResult2AdvancedList(xmlui, form_xml):
for item_elt in item_elts:
for elt in item_elt.elements():
if elt.name != 'field':
log.warning("Unexpected tag (%s)" % elt.name)
log.warning(u"Unexpected tag (%s)" % elt.name)
continue
field = data_form.Field.fromElement(elt)