From: Zac Medico Date: Thu, 5 Aug 2010 05:22:44 +0000 (-0700) Subject: Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked X-Git-Tag: v2.2_rc68~410 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ed07e3ebab02e760dc499aff4ff95e62f70c208;p=portage.git Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked package when possible, instead of 'Missing IUSE' message for an unmasked package. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 1c40088ae..22f9b1f1a 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -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