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

seth vidal skvidal at fedoraproject.org
Mon Nov 15 06:30:36 UTC 2010


On Mon, 2010-11-15 at 07:27 +0100, Tim Lauridsen wrote:
> ---
>  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


ACK

-sv




More information about the Yum-devel mailing list