- Make the list we hand off to yum to search for as unique as we can
This commit is contained in:
parent
be44e2527d
commit
7e155b84e1
@ -1,5 +1,6 @@
|
||||
* Fri Mar 02 2007 Jesse Keating <jkeating@redhat.com>
|
||||
- Add kickstart %packages syntax support to package manifest
|
||||
- Make the list we hand off to yum to search for as unique as we can
|
||||
|
||||
* Wed Feb 28 2007 Jesse Keating <jkeating@redhat.com>
|
||||
- Update Fedora 7 comps file.
|
||||
|
@ -222,6 +222,9 @@ class Gather(yum.YumBase):
|
||||
for x in range(searchlist.count(exclude)): # why is there no list.removeall?
|
||||
searchlist.remove(exclude)
|
||||
|
||||
# Make the search list unique
|
||||
searchlist = yum.misc.unique(searchlist)
|
||||
|
||||
# Search repos for things in our searchlist, supports globs
|
||||
(exactmatched, matched, unmatched) = yum.packages.parsePackages(self.pkgSack.returnPackages(), searchlist, casematch=1)
|
||||
matches = exactmatched + matched
|
||||
|
Loading…
Reference in New Issue
Block a user