From bc63a48af0517b31872141aa06ed1a5f9b6b4f52 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Oct 2012 20:12:33 -0700 Subject: [PATCH] SecuritySet: fix for EAPI 5 sub-slot in SLOT --- pym/portage/_sets/security.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.26.2