summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Package.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py
index e19b78444..f3be19b6d 100644
--- a/pym/_emerge/Package.py
+++ b/pym/_emerge/Package.py
@@ -652,8 +652,11 @@ class Package(Task):
for k, v in self.alias_mapping.items():
if flag in v:
return k
- else:
- return None
+
+ if self._iuse_implicit_match(flag):
+ return flag
+
+ return None
def __len__(self):
return 4