Mercurial > libervia-backend
diff src/tools/xml_tools.py @ 1409:3265a2639182
massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 16 Apr 2015 14:57:57 +0200 |
parents | 069ad98b360d |
children | 8ce9924fa92c |
line wrap: on
line diff
--- a/src/tools/xml_tools.py Thu Apr 16 13:31:14 2015 +0200 +++ b/src/tools/xml_tools.py Thu Apr 16 14:57:57 2015 +0200 @@ -153,7 +153,7 @@ 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)