something rotten in the yum.searchGenerator

James Antill james at fedoraproject.org
Thu Sep 19 18:34:02 UTC 2013


On Thu, 2013-09-19 at 20:19 +0200, tim.lauridsen at gmail.com wrote:
> Hi
> 
> Trying to fix some issues with seach in yumex today and found that
> yum.searchGenerator behaves strange.
> 
> import yum
> yb = yum.YumBase()
> yb.setCacheDir()
> fields = ['name']
> keys = ['yum']
> result = [res for res in yb.searchGenerator(fields, keys)]

result = [res for res in yb.searchGenerator(fields, keys, searchtags=False)]



More information about the Yum-devel mailing list