depgraph: avoid duplicate ebuild visibility check
authorZac Medico <zmedico@gentoo.org>
Wed, 19 Jan 2011 02:01:17 +0000 (18:01 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 19 Jan 2011 02:01:17 +0000 (18:01 -0800)
pym/_emerge/depgraph.py

index c73381a82e2f9c2ec1e05d42cb6a5bcaae83b067..a4cdaf2e64fdfce1cbb2104fb73dae3e550cec2e 100644 (file)
@@ -2977,7 +2977,7 @@ class depgraph(object):
                                                # reinstall the same exact version only due
                                                # to a KEYWORDS mask. See bug #252167.
 
-                                               if matched_packages:
+                                               if pkg.type_name != "ebuild" and matched_packages:
                                                                # If the ebuild no longer exists or it's
                                                                # keywords have been dropped, reject built
                                                                # instances (installed or binary).