Align visible() with get_masking_status() as per zmedico's comment in bug #209538
authorFabian Groffen <grobian@gentoo.org>
Sun, 24 Feb 2008 09:31:23 +0000 (09:31 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 24 Feb 2008 09:31:23 +0000 (09:31 -0000)
svn path=/main/branches/prefix/; revision=9378

pym/_emerge/__init__.py

index a87aa4515b85f9942cb8288117906ae11e3c2e22..bcaaed88c5fec04a7967003c5327cc0e871b9993 100644 (file)
@@ -1080,7 +1080,7 @@ def visible(pkgsettings, cpv, metadata, built=False, installed=False):
        if built and not installed and \
                metadata["CHOST"] != pkgsettings["CHOST"]:
                return False
-       if built:
+       if built and not installed:
                # we can have an old binary which has no EPREFIX information
                if "EPREFIX" not in metadata or not metadata["EPREFIX"]:
                        return False