summaryrefslogtreecommitdiff
path: root/pym
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 /pym
parentMake post_emerge() exit early if it detects that the vdb state hasn't changed. (diff)
downloadportage-multirepo-4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5.tar.gz
portage-multirepo-4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5.tar.bz2
portage-multirepo-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
Diffstat (limited to 'pym')
-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 928fecbc..12503d9a 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: