summaryrefslogtreecommitdiffstats
path: root/pym/portage/_sets/security.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-10-17 20:12:33 -0700
committerZac Medico <zmedico@gentoo.org>2012-10-17 20:12:33 -0700
commitbc63a48af0517b31872141aa06ed1a5f9b6b4f52 (patch)
tree9c81aa4b18adc53fa72244df46b8644e0eb57ced /pym/portage/_sets/security.py
parent19b88931cb438d058b60f2e56928839d12e22456 (diff)
downloadportage-bc63a48af0517b31872141aa06ed1a5f9b6b4f52.tar.gz
portage-bc63a48af0517b31872141aa06ed1a5f9b6b4f52.tar.bz2
portage-bc63a48af0517b31872141aa06ed1a5f9b6b4f52.zip
SecuritySet: fix for EAPI 5 sub-slot in SLOT
Diffstat (limited to 'pym/portage/_sets/security.py')
-rw-r--r--pym/portage/_sets/security.py4
1 files 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: