fix the next backtrace
authorFabian Groffen <grobian@gentoo.org>
Thu, 10 Apr 2008 18:12:26 +0000 (18:12 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 10 Apr 2008 18:12:26 +0000 (18:12 -0000)
svn path=/main/branches/prefix/; revision=9812

pym/_emerge/__init__.py

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