[Yum-devel] [PATCH] Fixes extra '</pkglist>' tags being inserted when rendering a UpdateNotice to XML Only impacts Errata/UpdateInfo objects that span more than 1 collection BZ 887407
John Matthews
jmatthew at redhat.com
Fri Dec 14 23:25:55 UTC 2012
---
yum/update_md.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/yum/update_md.py b/yum/update_md.py
index 4fe802b..e71f9ef 100644
--- a/yum/update_md.py
+++ b/yum/update_md.py
@@ -371,7 +371,7 @@ class UpdateNotice(object):
to_xml(pkg['version'], attrib=True),
to_xml(pkg['filename']))
msg += """ </collection>\n"""
- msg += """ </pkglist>\n"""
+ msg += """ </pkglist>\n"""
msg += """</update>\n"""
return msg
--
1.7.1
More information about the Yum-devel
mailing list