summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-10-17 20:02:26 -0700
committerZac Medico <zmedico@gentoo.org>2012-10-17 20:02:26 -0700
commiteae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb (patch)
treec73eddf96c599c3f865029be36c2d9ad736776ce
parentd3b487536789d6331e7c85f839068be890b6112a (diff)
downloadportage-eae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb.tar.gz
portage-eae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb.tar.bz2
portage-eae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb.zip
StaticFileSet: fix for EAPI 5 sub-slot in SLOT
-rw-r--r--pym/portage/_sets/files.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/_sets/files.py b/pym/portage/_sets/files.py
index b891ea4f4..b839582df 100644
--- a/pym/portage/_sets/files.py
+++ b/pym/portage/_sets/files.py
@@ -86,8 +86,8 @@ class StaticFileSet(EditablePackageSet):
for a in data:
matches = self.dbapi.match(a)
for cpv in matches:
- atoms.append("%s:%s" % (cpv_getkey(cpv),
- self.dbapi.aux_get(cpv, ["SLOT"])[0]))
+ pkg = self.dbapi._pkg_str(cpv, None)
+ atoms.append("%s:%s" % (pkg.cp, pkg.slot))
# In addition to any installed slots, also try to pull
# in the latest new slot that may be available.
atoms.append(a)