[yum-commits] Branch 'yum-3_2_X' - yumcommands.py

James Antill james at osuosl.org
Tue Oct 14 03:29:04 UTC 2008


 yumcommands.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 29247ba155041585ae37042fb64a687522f094e7
Author: James Antill <james at and.org>
Date:   Mon Oct 13 23:28:55 2008 -0400

    Fix unicode exceptions in reinstall, bug 466838

diff --git a/yumcommands.py b/yumcommands.py
index b87d7f0..8f25623 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -890,7 +890,7 @@ class ReInstallCommand(YumCommand):
             return 0, [_('Nothing to do')]            
             
         except yum.Errors.YumBaseError, e:
-            return 1, [str(e)]
+            return 1, [to_unicode(e)]
 
     def getSummary(self):
         return _("reinstall a package")


More information about the Yum-commits mailing list