On Thu, 21 Jan 2010, Mark Rappoport wrote:


Hi,
An issue[1] came up on the CentOS-devel list that required us to generate 
updateinfo.xml files; based on
the current code in update_md, we found it much simpler to use UpdateNotice's 
xml() method to generate
these files.

However, in it's current form, UpdateNotice does not contain a __setitem__ 
method -- which a tiny patch
rectifies (http://pastebin.ca/1760395).

Moreover, it would probably be a good idea to add handling of UpdateNotice 
instance to UpdateMetadata.add
-- if desired, I could probably submit a patch for that as well.

[1] http://lists.centos.org/pipermail/centos-devel/2010-January/005306.html


Added and credited, thanks,
-sv
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to