summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-10 14:57:08 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-11 18:48:12 -0700
commitb811770c6aae963241eb312dd13f6ff7f0864380 (patch)
tree4146f5f5d974b84d000593dd9ad9fa734e4df4c1
parent6c9439df8ec7c98ef3c59106c29a57b0a61b729b (diff)
downloadportage-b811770c6aae963241eb312dd13f6ff7f0864380.tar.gz
portage-b811770c6aae963241eb312dd13f6ff7f0864380.tar.bz2
portage-b811770c6aae963241eb312dd13f6ff7f0864380.zip
depgraph: Remove obsolete 'Missing binary' code.
-rw-r--r--pym/_emerge/depgraph.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index af4e77a39..4b0257ad7 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -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):
"""