[Yum-devel] [PATCH] Deal with putting non-en rpmdb problems in the history DB
James Antill
james at and.org
Mon Jun 14 15:50:18 UTC 2010
---
yum/history.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/yum/history.py b/yum/history.py
index bfb0b45..a676773 100644
--- a/yum/history.py
+++ b/yum/history.py
@@ -414,7 +414,8 @@ class YumHistory:
"""INSERT INTO trans_rpmdb_problems
(tid, problem, msg)
VALUES (?, ?, ?)""", (self._tid,
- problem.problem, str(problem)))
+ problem.problem,
+ to_unicode(str(problem))))
rpid = cur.lastrowid
if not rpid:
--
1.7.0.1
More information about the Yum-devel
mailing list