projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c260933
)
Use is_valid_flag.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Apr 2010 04:10:16 +0000
(21:10 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Apr 2010 04:10:16 +0000
(21:10 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 8349bb55eb6a9213a1f38ba02be301454e71f12a..c3e180faf75520f2fb4214bc96a3ad310151547c 100644
(file)
--- 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: