[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

James Antill james at fedoraproject.org
Mon Dec 17 06:07:33 UTC 2012


On Fri, 2012-12-14 at 18:25 -0500, John Matthews wrote:
> ---
>  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

 Getting a weird sense of deja-vu here, but it's not fixed upstream so
ACK and pushed.



More information about the Yum-devel mailing list