# lost, causing lots of issues (e.g. Portage being masked)
# for minimal/concentrated code change, empty repo_pkgmasklines here
# such that they don't count double
+ import collections
+ _profile_node = collections.namedtuple('_profile_node',
+ 'location portage1_directories')
repo_pkgmasklines = []
repo_pkgunmasklines = []
all_profiles = []
for repo in repositories.repos_with_profiles():
- all_profiles.append(os.path.join(repo.location, "profiles"))
+ all_profiles.append(_profile_node(repo.location, True))
all_profiles.extend(profiles)
+ # END PREFIX LOCAL
for x in all_profiles:
profile_pkgmasklines.append(grabfile_package(
os.path.join(x.location, "package.mask"),