summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index a03f04ae..d4f70d03 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2621,11 +2621,7 @@ class depgraph(object):
found_available_arg = True
if atom.use:
- missing_iuse = False
- for x in atom.use.required:
- if not pkg.iuse.is_valid_flag(x):
- missing_iuse = True
- break
+ missing_iuse = pkg.iuse.is_valid_flag(atom.use.required)
if missing_iuse:
# Don't add this to packages_with_invalid_use_config
# since IUSE cannot be adjusted by the user.