diff options
Diffstat (limited to 'pym/portage.py')
-rw-r--r-- | pym/portage.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pym/portage.py b/pym/portage.py index 4c118cb4b..046277db4 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5256,10 +5256,9 @@ def getmaskingstatus(mycpv, settings=None, portdb=None): pgroups.extend(egroups) inc_pgroups = set() for x in pgroups: - for x in pgroups: - if x.startswith("-") and x != "-*": - inc_pgroups.discard(x[1:]) - inc_pgroups.add(x) + if x.startswith("-") and x != "-*": + inc_pgroups.discard(x[1:]) + inc_pgroups.add(x) pgroups = inc_pgroups del inc_pgroups |