[Yum-devel] [patch] make RpmSack.what* return a list of POs insted of pkgtups

Florian Festi ffesti at redhat.com
Mon Apr 30 10:24:15 UTC 2007


Hi!

RpmSack.whatProvides and .whatRequires build package objects inside but only 
return the pkg tuples. This is really annoying as most places need to 
reconstruct these objects later.

The attached patch removes the conversion to pkgtuples and adjusts the code 
using RpmSack.whatProvides and .whatRequires. It additinally reduces the 
code by ~25 lines. It also restores consistency to my earlier - but yet 
uncommited - patch that adds these methods to SqliteSack.

Florian




More information about the Yum-devel mailing list