Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked
authorZac Medico <zmedico@gentoo.org>
Thu, 5 Aug 2010 05:22:44 +0000 (22:22 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 5 Aug 2010 05:22:44 +0000 (22:22 -0700)
package when possible, instead of 'Missing IUSE' message for an
unmasked package.

pym/_emerge/depgraph.py

index 1c40088ae163251a26efc2b479ef3963fca1855d..22f9b1f1ad7b1cff39b7d2221bd93c2cdeb1fd6d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 from __future__ import print_function
@@ -2296,7 +2296,7 @@ class depgraph(object):
                                        break
                                
                elif unmasked_iuse_reasons:
-                       if missing_use_reasons:
+                       if masked_packages:
                                # All packages with required IUSE are masked,
                                # so display a normal masking message.
                                pass