summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 2295116da..96d6d7cfe 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1874,14 +1874,10 @@ class config(object):
for x in mask_atoms:
if not match_from_list(x, pkg_list):
continue
- masked = True
if unmask_atoms:
for y in unmask_atoms:
if match_from_list(y, pkg_list):
- masked = False
- break
- if not masked:
- continue
+ return None
return x
return None