From: Zac Medico Date: Sun, 10 Feb 2008 03:14:44 +0000 (-0000) Subject: Fix CHOST masking logic wrt installed packages so that it's consistent X-Git-Tag: v2.2_pre2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=911d07295954de75346e3a5d2b7e12044232525e;p=portage.git Fix CHOST masking logic wrt installed packages so that it's consistent between visible() and get_masking_status(). svn path=/main/trunk/; revision=9324 --- 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"])