[yum-git] yummain.py

James Antill james at linux.duke.edu
Sat Apr 12 05:37:13 UTC 2008


 yummain.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9bf430e78ec39f537953ad0c1033ebeb03e1c83b
Author: James Antill <james at and.org>
Date:   Sat Apr 12 01:37:09 2008 -0400

    Missed two translated exceptions

diff --git a/yummain.py b/yummain.py
index 281fc91..33a4247 100755
--- a/yummain.py
+++ b/yummain.py
@@ -113,7 +113,7 @@ def main(args):
         return exPluginExit(e)
     except Errors.YumBaseError, e:
         result = 1
-        resultmsgs = [str(e)]
+        resultmsgs = [unicode(e)]
     except KeyboardInterrupt:
         return exUserCancel()
     except IOError, e:
@@ -154,7 +154,7 @@ def main(args):
         return exPluginExit(e)
     except Errors.YumBaseError, e:
         result = 1
-        resultmsgs = [str(e)]
+        resultmsgs = [unicode(e)]
     except KeyboardInterrupt:
         return exUserCancel()
     except IOError, e:



More information about the Yum-cvs-commits mailing list