depgraph: Remove obsolete 'Missing binary' code.
authorZac Medico <zmedico@gentoo.org>
Sun, 10 Oct 2010 21:57:08 +0000 (14:57 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 12 Oct 2010 01:48:12 +0000 (18:48 -0700)
pym/_emerge/depgraph.py

index af4e77a3980e6408017c239dedc71b3ad8ae6341..4b0257ad7618a0052486b00a2cadc937ad853070 100644 (file)
@@ -1944,17 +1944,6 @@ class depgraph(object):
                if not self._create_graph():
                        return 0, myfavorites
 
-               missing=0
-               if "--usepkgonly" in self._frozen_config.myopts:
-                       for xs in self._dynamic_config.digraph.all_nodes():
-                               if not isinstance(xs, Package):
-                                       continue
-                               if len(xs) >= 4 and xs[0] != "binary" and xs[3] == "merge":
-                                       if missing == 0:
-                                               writemsg("\n", noiselevel=-1)
-                                       missing += 1
-                                       writemsg("Missing binary for: %s\n" % xs[2], noiselevel=-1)
-
                try:
                        self.altlist()
                except self._unknown_internal_error:
@@ -1970,7 +1959,7 @@ class depgraph(object):
                        return False, myfavorites
 
                # We're true here unless we are missing binaries.
-               return (not missing,myfavorites)
+               return (True, myfavorites)
 
        def _set_args(self, args):
                """