summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Luther <SebastianLuther@gmx.de>2010-05-25 12:38:16 +0200
committerZac Medico <zmedico@gentoo.org>2010-05-25 04:43:46 -0700
commitc24d345efb7c966cc14c2ac0457356cda554ab4b (patch)
treef629ebca123aff352306f23c4e9c9595886b0e33
parentMake parent_use parameter for portage.dep.Atom.violated_conditionals() option... (diff)
downloadportage-idfetch-c24d345efb7c966cc14c2ac0457356cda554ab4b.tar.gz
portage-idfetch-c24d345efb7c966cc14c2ac0457356cda554ab4b.tar.bz2
portage-idfetch-c24d345efb7c966cc14c2ac0457356cda554ab4b.zip
_emerge.depgraph._show_unsatisfied_dep(): properly check if something belongs into missing_use
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index ff561f7f..a03f04ae 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2224,7 +2224,7 @@ class depgraph(object):
mreasons = ["exclude option"]
if mreasons:
masked_pkg_instances.add(pkg)
- if atom.use:
+ if atom.violated_conditionals(pkg.use.enabled).use:
missing_use.append(pkg)
if not mreasons:
continue