[Yum-devel] [PATCH 1/2] - fix for 623753 or so it seems - make sure we to_unicode() the __str__() output from an rpmdb problem object.

Seth Vidal skvidal at fedoraproject.org
Tue Aug 17 18:36:32 UTC 2010


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

diff --git a/yumcommands.py b/yumcommands.py
index 9c6fc75..5498322 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -1418,7 +1418,7 @@ class CheckRpmdbCommand(YumCommand):
             chkcmd = extcmds
 
         def _out(x):
-            print x
+            print to_unicode(x.__str__())
 
         rc = 0
         if base._rpmdb_warn_checks(out=_out, warn=False, chkcmd=chkcmd,
-- 
1.7.2.1



More information about the Yum-devel mailing list