[yum-commits] Branch 'yum-3_2_X' - yum/history.py
James Antill
james at osuosl.org
Tue Aug 10 15:35:37 UTC 2010
yum/history.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7bd63b84d1202e06bc78c92d27fb7167707fa2af
Author: James Antill <james at and.org>
Date: Tue Aug 10 11:28:34 2010 -0400
Another yum history unicide fix, cmdline with utf-8 in it, BZ 622683
diff --git a/yum/history.py b/yum/history.py
index 6bc767a..014bdab 100644
--- a/yum/history.py
+++ b/yum/history.py
@@ -470,7 +470,7 @@ class YumHistory:
res = executeSQL(cur,
"""INSERT INTO trans_cmdline
(tid, cmdline)
- VALUES (?, ?)""", (self._tid, cmdline))
+ VALUES (?, ?)""", (self._tid, to_unicode(cmdline)))
return cur.lastrowid
def beg(self, rpmdb_version, using_pkgs, txmbrs, skip_packages=[],
More information about the Yum-commits
mailing list