From: Zac Medico Date: Thu, 18 Oct 2012 03:02:26 +0000 (-0700) Subject: StaticFileSet: fix for EAPI 5 sub-slot in SLOT X-Git-Tag: v2.2.0_alpha141~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb;p=portage.git StaticFileSet: fix for EAPI 5 sub-slot in SLOT --- 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)