From 8ed07e3ebab02e760dc499aff4ff95e62f70c208 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 4 Aug 2010 22:22:44 -0700 Subject: [PATCH] Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked package when possible, instead of 'Missing IUSE' message for an unmasked package. --- pym/_emerge/depgraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2