From: Zac Medico Date: Wed, 28 Apr 2010 04:10:16 +0000 (-0700) Subject: Use is_valid_flag. X-Git-Tag: v2.2_rc68~631 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6eca35c514fd1d6b1ba50adffb086cc8c2097dbc;p=portage.git Use is_valid_flag. --- 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: