_emerge.depgraph._show_unsatisfied_dep(): properly check if something belongs into...
authorSebastian Luther <SebastianLuther@gmx.de>
Tue, 25 May 2010 10:38:16 +0000 (12:38 +0200)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 May 2010 11:43:46 +0000 (04:43 -0700)
pym/_emerge/depgraph.py

index ff561f7fa8390e4095878c5027bea87e6f465cc7..a03f04aede2cf01623dc7c88cecda7424f835b54 100644 (file)
@@ -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