[yum-git] Branch 'yum-3_2_X' - cli.py
Florian Festi
ffesti at linux.duke.edu
Mon Jun 23 15:26:35 UTC 2008
cli.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c48c0b749ece669bf7b548240ab4cb59d294fa28
Author: Florian Festi <ffesti at redhat.com>
Date: Mon Jun 23 17:23:24 2008 +0200
Fix unicode traceback
If error message contains non UTF-8 characters yum bails out in this line
May be this should (also) be fixed in the rpmlib Python bindings.
diff --git a/cli.py b/cli.py
index cb16e76..1672123 100644
--- a/cli.py
+++ b/cli.py
@@ -402,7 +402,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
if len(tserrors) > 0:
errstring = _('Transaction Check Error:\n')
for descr in tserrors:
- errstring += ' %s\n' % descr
+ errstring += ' %s\n' % to_unicode(descr)
raise yum.Errors.YumBaseError, errstring + '\n' + \
self.errorSummary(errstring)
More information about the Yum-cvs-commits
mailing list