summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-10 14:57:08 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-10 14:57:08 -0700
commitdbde73a81dfd74fa9c1f0d4ed4de73fc581fb9e8 (patch)
treec2f41d69b35176f60efcce0c9b3909cf46fde138 /pym
parent1a3f5372dcbb03c6df6490cf78a6699e9b36a225 (diff)
downloadportage-dbde73a81dfd74fa9c1f0d4ed4de73fc581fb9e8.tar.gz
portage-dbde73a81dfd74fa9c1f0d4ed4de73fc581fb9e8.tar.bz2
portage-dbde73a81dfd74fa9c1f0d4ed4de73fc581fb9e8.zip
depgraph: Remove obsolete 'Missing binary' code.
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/depgraph.py16
1 files changed, 2 insertions, 14 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index a37a5989b..a9c75be6d 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1931,17 +1931,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:
@@ -1954,12 +1943,11 @@ class depgraph(object):
set(self._dynamic_config.digraph).intersection( \
self._dynamic_config._needed_license_changes) :
#We failed if the user needs to change the configuration
- if not missing:
- self._dynamic_config._success_without_autounmask = True
+ self._dynamic_config._success_without_autounmask = True
return False, myfavorites
# We're true here unless we are missing binaries.
- return (not missing,myfavorites)
+ return (True, myfavorites)
def _set_args(self, args):
"""