From: Zac Medico Date: Wed, 12 Nov 2008 02:24:42 +0000 (-0000) Subject: Bug #246451 - Inside SecuritySet._reduce(), use portdbapi.xmatch("match-all") X-Git-Tag: v2.2_rc15~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ad40fc1da7ee4b33eb6a5fa7f9f02b9b06a1aa5;p=portage.git 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 --- 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: