• Jan 18, 2012

    last-yum-commit

    Make searchFiles() a bit faster
    Current re_primary_filename(n) filter is:
    1) 'bin/' in n => True
    2) n.startswith('/etc/') => True
    3) n == '/usr/lib/sendmail' => True
    4) else => False
    
    re_primary_filename(glob) implies re_primary_filename(n)
    for every possible expansion n of that glob, so we don't
    have to search filelists when searching such globs.