<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
James Bowes wrote:
<blockquote
cite="mid:3f80363f0710141046g5549b0b1ve7a2221b099f0562@mail.gmail.com"
type="cite">
<pre wrap="">On 10/14/07, Richard Hughes <a class="moz-txt-link-rfc2396E" href="mailto:hughsient@gmail.com"><hughsient@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
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?
-James
</pre>
</blockquote>
Look fine to me<br>
</body>
</html>