projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b8893
)
SecuritySet: fix for EAPI 5 sub-slot in SLOT
author
Zac Medico
<zmedico@gentoo.org>
Thu, 18 Oct 2012 03:12:33 +0000
(20:12 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 18 Oct 2012 03:12:33 +0000
(20:12 -0700)
pym/portage/_sets/security.py
patch
|
blob
|
history
diff --git
a/pym/portage/_sets/security.py
b/pym/portage/_sets/security.py
index 7e856bc79d6d6fa0f13d03abbef7bd52d39cac24..f8dbef2beb2631df62d8b4b699b10a82470a5909 100644
(file)
--- 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: