diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-10-17 20:02:26 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-10-17 20:02:26 -0700 |
commit | eae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb (patch) | |
tree | c73eddf96c599c3f865029be36c2d9ad736776ce | |
parent | d3b487536789d6331e7c85f839068be890b6112a (diff) | |
download | portage-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.py | 4 |
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) |