summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-04 22:22:44 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-04 22:22:44 -0700
commit8ed07e3ebab02e760dc499aff4ff95e62f70c208 (patch)
treea013b122fcc028124455897e353b48b71c696787
parent3b9488a32d6f170387b6dfbf1985e87db556f998 (diff)
downloadportage-8ed07e3ebab02e760dc499aff4ff95e62f70c208.tar.gz
portage-8ed07e3ebab02e760dc499aff4ff95e62f70c208.tar.bz2
portage-8ed07e3ebab02e760dc499aff4ff95e62f70c208.zip
Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked
package when possible, instead of 'Missing IUSE' message for an unmasked package.
-rw-r--r--pym/_emerge/depgraph.py4
1 files 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