[yum-commits] Branch 'yum-3_2_X' - yum/packages.py
skvidal at osuosl.org
skvidal at osuosl.org
Mon Feb 9 20:24:58 UTC 2009
yum/packages.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 427af2504923bd37c18c8c1c4845b7759c6b6abb
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Mon Feb 9 15:23:59 2009 -0500
add two more to_unicodes for url and packager as per mbonnet's suggestion
diff --git a/yum/packages.py b/yum/packages.py
index 2a5985f..bc3d6d5 100644
--- a/yum/packages.py
+++ b/yum/packages.py
@@ -785,10 +785,10 @@ class YumAvailablePackage(PackageObject, RpmBase):
packager = url = ''
if self.packager:
- packager = misc.to_xml(self.packager)
+ packager = misc.to_unicode(misc.to_xml(self.packager))
if self.url:
- url = misc.to_xml(self.url)
+ url = misc.to_unicode(misc.to_xml(self.url))
(csum_type, csum, csumid) = self.checksums[0]
msg = """
<name>%s</name>
More information about the Yum-commits
mailing list