summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py
index 93b86f10b..0eba4b65a 100644
--- a/pym/_emerge/Package.py
+++ b/pym/_emerge/Package.py
@@ -214,11 +214,12 @@ class Package(Task):
"""
if isinstance(flags, basestring):
flags = [flags]
+ missing_iuse = []
for flag in flags:
if not flag in self.all and \
self._iuse_implicit_regex.match(flag) is None:
- return False
- return True
+ missing_iuse.append(flag)
+ return missing_iuse
def _get_hash_key(self):
hash_key = getattr(self, "_hash_key", None)