From 4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 12 Nov 2008 02:24:42 +0000 Subject: [PATCH] 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 --- pym/portage/sets/security.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2