From 911d07295954de75346e3a5d2b7e12044232525e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Feb 2008 03:14:44 +0000 Subject: [PATCH] Fix CHOST masking logic wrt installed packages so that it's consistent between visible() and get_masking_status(). svn path=/main/trunk/; revision=9324 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d285e9c84..105168870 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1038,7 +1038,7 @@ def get_masking_status(pkg, pkgsettings, root_config): pkg.cpv, metadata=pkg.metadata, settings=pkgsettings, portdb=root_config.trees["porttree"].dbapi) - if pkg.built and \ + if pkg.built and not pkg.installed and \ pkg.metadata["CHOST"] != root_config.settings["CHOST"]: mreasons.append("CHOST: %s" % \ pkg.metadata["CHOST"]) -- 2.26.2