summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-05-25 13:30:15 +0200
committerZac Medico <zmedico@gentoo.org>2010-05-25 04:43:46 -0700
commit4669853d73ee647a1e44a96d04f74b92e480a6ef (patch)
tree5e3e449be289c27f433bfa75c547041f1f10c2b8 /pym/_emerge/depgraph.py
parentebe5811272f6eecb3532b45471ba7f1cfef20ba2 (diff)
downloadportage-4669853d73ee647a1e44a96d04f74b92e480a6ef.tar.gz
portage-4669853d73ee647a1e44a96d04f74b92e480a6ef.tar.bz2
portage-4669853d73ee647a1e44a96d04f74b92e480a6ef.zip
Add _emerge.Package.iuse.get_missing_iuse to return missing IUSE flags. Restore original behavior of is_valid_flag.
Diffstat (limited to 'pym/_emerge/depgraph.py')
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index ec3da77d7..1c6907669 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2245,7 +2245,7 @@ class depgraph(object):
missing_iuse_reasons = []
for pkg in missing_use:
use = pkg.use.enabled
- missing_iuse = pkg.iuse.is_valid_flag(atom.use.required)
+ missing_iuse = pkg.iuse.get_missing_iuse(atom.use.required)
mreasons = []
if missing_iuse:
mreasons.append("Missing IUSE: %s" % " ".join(missing_iuse))
@@ -2618,7 +2618,7 @@ class depgraph(object):
found_available_arg = True
if atom.use:
- missing_iuse = pkg.iuse.is_valid_flag(atom.use.required)
+ missing_iuse = pkg.iuse.get_missing_iuse(atom.use.required)
if missing_iuse:
# Don't add this to packages_with_invalid_use_config
# since IUSE cannot be adjusted by the user.