There's an indent issue that manifests itself with spurious '</pkglist>' lines when calling xml() on a notice that has multiple package collections.
$ git diff diff --git a/yum/update_md.py b/yum/update_md.py index 2cb1acb..dee7b98 100644 --- a/yum/update_md.py +++ b/yum/update_md.py @@ -345,7 +345,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 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel