summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-12 02:24:42 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-12 02:24:42 +0000
commit4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5 (patch)
tree121d4a951b754db9ae4e8b06a582774c2526f724
parentc07a9eee5040025d68121e41943929a96e0421c4 (diff)
downloadportage-4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5.tar.gz
portage-4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5.tar.bz2
portage-4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5.zip
Bug #246451 - Inside SecuritySet._reduce(), use portdbapi.xmatch("match-all")
in order do be consistent with portage.glsa.getMinUpgrade() which also uses match-all. svn path=/main/trunk/; revision=11861
-rw-r--r--pym/portage/sets/security.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/sets/security.py b/pym/portage/sets/security.py
index 928fecbcf..12503d9a5 100644
--- a/pym/portage/sets/security.py
+++ b/pym/portage/sets/security.py
@@ -46,7 +46,7 @@ class SecuritySet(PackageSet):
def _reduce(self, atomlist):
mydict = {}
for atom in atomlist[:]:
- cpv = self._portdbapi.match(atom)[0]
+ cpv = self._portdbapi.xmatch("match-all", atom)[0]
slot = self._portdbapi.aux_get(cpv, ["SLOT"])[0]
cps = "/".join(catpkgsplit(cpv)[0:2]) + ":" + slot
if not cps in mydict: