From: Zac Medico Date: Thu, 18 Oct 2012 03:12:33 +0000 (-0700) Subject: SecuritySet: fix for EAPI 5 sub-slot in SLOT X-Git-Tag: v2.2.0_alpha141~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc63a48af0517b31872141aa06ed1a5f9b6b4f52;p=portage.git SecuritySet: fix for EAPI 5 sub-slot in SLOT --- diff --git a/pym/portage/_sets/security.py b/pym/portage/_sets/security.py index 7e856bc79..f8dbef2be 100644 --- a/pym/portage/_sets/security.py +++ b/pym/portage/_sets/security.py @@ -44,8 +44,8 @@ class SecuritySet(PackageSet): mydict = {} for atom in atomlist[:]: cpv = self._portdbapi.xmatch("match-all", atom)[0] - slot = self._portdbapi.aux_get(cpv, ["SLOT"])[0] - cps = "%s:%s" % (cpv.cp, slot) + pkg = self._portdbapi._pkg_str(cpv, None) + cps = "%s:%s" % (pkg.cp, pkg.slot) if not cps in mydict: mydict[cps] = (atom, cpv) else: