[yum-commits] repoquery.py

James Antill james at osuosl.org
Mon Oct 4 20:24:32 UTC 2010


 repoquery.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7ab5b9e11b2e92e58396aa1682a5beabeec33c67
Author: James Antill <james at and.org>
Date:   Mon Oct 4 16:24:07 2010 -0400

    Fix unicide in repoquery --installed -a --changelog.

diff --git a/repoquery.py b/repoquery.py
index cee1089..ee934f2 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -567,6 +567,8 @@ class instPkgQuery(pkgQuery):
             names = self.pkg.tagByName('changelogname')
             texts = self.pkg.tagByName('changelogtext')
             for date, author, message in zip(times, names, texts):
+                author = to_unicode(author)
+                message = to_unicode(message)
                 changelog.append("* %s %s\n%s\n" % (sec2day(date), author, message))
         return "\n".join(changelog)
 


More information about the Yum-commits mailing list