[Yum-devel] [PATCH] Improve relevance ordering of search results.

Ville Skyttä ville.skytta at iki.fi
Mon Oct 26 21:29:08 UTC 2009


On Monday 26 October 2009, James Antill wrote:

>  In theory this is an API change, and I guess it's possible they'll be a
> perf. issue (although mostly not). Might be easier to just change cli.py
> to something like:
> 
>  # Print them in the order they were passed...
>  used_keys = [arg for arg in args if arg in keys]
>  print self.fmtSection("Matched: " + ", ".join(used_keys))

Good point.  I'll make that change (will probably use a generator instead of 
list comprehension though) and split the patch in two commits.


More information about the Yum-devel mailing list