[packagekit] yum backend ordering problem
tla at rasmil.dk
Mon Oct 15 02:14:29 PDT 2007
James Bowes wrote:
> On 10/14/07, Richard Hughes <hughsient at gmail.com> wrote:
>> The _do_search method has to return the installed packages _first_ and
>> then the available packages. This is done so we can filter on the
>> packages without the data so we don't show each installed package twice.
> res is a generator, so you can only iterate over it once. Attached is
> a patch which fixes the ordering by putting all available packages
> into another list, then filtering those after running through the
> generator and filtering the installed packages.
> Ok to commit?
Look fine to me
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PackageKit