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:03:48 +0000 (18:03 -0800)
pym/_emerge/depgraph.py

index 4ccea99a8b9b3105a0f455f2950096f612da6678..6891b939a66abd7b9e6353cadf5d04cb74ce038b 100644 (file)
@@ -2937,7 +2937,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).