diff options
author | 2015-11-26 19:44:31 -0500 | |
---|---|---|
committer | 2015-11-26 20:06:25 -0500 | |
commit | a06e2f1a60d672bc285ee6d1c6a33c8150cf8d11 (patch) | |
tree | a6a2509d580e960a7634327ff15b2ae652076ee6 | |
parent | pinspect profile: various minor lint clean ups (diff) | |
download | pkgcore-a06e2f1a60d672bc285ee6d1c6a33c8150cf8d11.tar.gz pkgcore-a06e2f1a60d672bc285ee6d1c6a33c8150cf8d11.tar.bz2 pkgcore-a06e2f1a60d672bc285ee6d1c6a33c8150cf8d11.zip |
pinspect profile: fix multi-profile output
-rw-r--r-- | pkgcore/ebuild/inspect_profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgcore/ebuild/inspect_profile.py b/pkgcore/ebuild/inspect_profile.py index df907cce..098cb623 100644 --- a/pkgcore/ebuild/inspect_profile.py +++ b/pkgcore/ebuild/inspect_profile.py @@ -73,7 +73,7 @@ class status(_base): profiles_dir = pjoin(namespace.profile.node.repoconfig.location, 'profiles') profile_rel_path = namespace.profile.path[len(profiles_dir):].lstrip('/') arch_profiles = namespace.profile.node.repoconfig.arch_profiles - statuses = [(path, status) for path, status in arch_profiles.itervalues() + statuses = [(path, status) for path, status in chain.from_iterable(arch_profiles.itervalues()) if path.startswith(profile_rel_path)] if len(statuses) > 1: for path, status in sorted(statuses): |