From 6eca35c514fd1d6b1ba50adffb086cc8c2097dbc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Apr 2010 21:10:16 -0700 Subject: [PATCH] Use is_valid_flag. --- pym/_emerge/depgraph.py | 3 +-- 1 file changed, 1 insertion(+), 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: -- 2.26.2