diff src/browser/sat_browser/xmlui.py @ 694:82123705474b

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:02 +0200
parents 9877607c719a
children 9a9e2fcc6347
line wrap: on
line diff
--- a/src/browser/sat_browser/xmlui.py	Thu Apr 16 13:29:26 2015 +0200
+++ b/src/browser/sat_browser/xmlui.py	Thu Apr 16 14:57:02 2015 +0200
@@ -194,7 +194,7 @@
         try:
             label = [label for label, _value in self._xmlui_attr_map.items() if _value == value][0]
         except IndexError:
-            log.warning("Can't find value [%s] to select" % value)
+            log.warning(u"Can't find value [%s] to select" % value)
             return
         self.selectItem(label)