[yum-commits] yum/update_md.py
zpavlas at osuosl.org
zpavlas at osuosl.org
Fri Oct 18 07:57:38 UTC 2013
yum/update_md.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2e2db162de48bab51731542bdf148177f9a62b2
Author: Randy Barlow <rbarlow at redhat.com>
Date: Fri Oct 18 09:54:16 2013 +0200
UpdateNotice.xml(): sanitize pkg['epoch']. BZ 1020540
diff --git a/yum/update_md.py b/yum/update_md.py
index cf0b882..a62bc00 100644
--- a/yum/update_md.py
+++ b/yum/update_md.py
@@ -392,7 +392,7 @@ class UpdateNotice(object):
to_xml(pkg['release'], attrib=True),
to_xml(pkg['src'], attrib=True),
to_xml(pkg['version'], attrib=True),
- pkg['epoch'] or '0',
+ to_xml(pkg['epoch'] or '0', attrib=True),
to_xml(pkg['filename']))
msg += """ </collection>\n"""
msg += """ </pkglist>\n"""
More information about the Yum-commits
mailing list