summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-04-27 21:10:16 -0700
committerZac Medico <zmedico@gentoo.org>2010-04-27 21:10:16 -0700
commit6eca35c514fd1d6b1ba50adffb086cc8c2097dbc (patch)
tree66ea9b94d7d6cb277d49f8773a7b7124c63c3947
parentc260933b121be4478b0e1b5a50d1862a7860fd0e (diff)
downloadportage-6eca35c514fd1d6b1ba50adffb086cc8c2097dbc.tar.gz
portage-6eca35c514fd1d6b1ba50adffb086cc8c2097dbc.tar.bz2
portage-6eca35c514fd1d6b1ba50adffb086cc8c2097dbc.zip
Use is_valid_flag.
-rw-r--r--pym/_emerge/depgraph.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 8349bb55e..c3e180faf 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2538,8 +2538,7 @@ class depgraph(object):
if atom.use:
missing_iuse = False
for x in atom.use.required:
- if x not in pkg.iuse.all and \
- pkg.root_config.settings._iuse_implicit_re.match(x) is None:
+ if not pkg.iuse.is_valid_flag(x):
missing_iuse = True
break
if missing_iuse: