[Yum-devel] [PATCH] fix '* Maybe you meant:' in non english locale

Tim Lauridsen tim.lauridsen at gmail.com
Mon Nov 15 06:27:29 UTC 2010


---
 cli.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cli.py b/cli.py
index 0c5d8ed..abf9a53 100644
--- a/cli.py
+++ b/cli.py
@@ -627,7 +627,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
         if matches:
             msg = self.fmtKeyValFill(_('  * Maybe you meant: '),
                                      ", ".join(matches))
-            self.verbose_logger.log(yum.logginglevels.INFO_2, msg)
+            self.verbose_logger.log(yum.logginglevels.INFO_2, to_unicode(msg))
 
     def _checkMaybeYouMeant(self, arg, always_output=True):
         """ If the update/remove argument doesn't match with case, or due
-- 
1.7.3.2



More information about the Yum-devel mailing list