summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-21 04:36:11 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-21 04:36:11 +0000
commit4b98bd466181aad8862fd922cfce5b6f3a38aeb3 (patch)
tree4702721a859ee2a985e0418926cc98691b7538a3
parentad3f69aa73d933b902644dc451d02abafedd7f38 (diff)
downloadportage-4b98bd466181aad8862fd922cfce5b6f3a38aeb3.tar.gz
portage-4b98bd466181aad8862fd922cfce5b6f3a38aeb3.tar.bz2
portage-4b98bd466181aad8862fd922cfce5b6f3a38aeb3.zip
Remove redunant population of the fakedb in depgraph.validate_blockers, since r4776 makes it unnecessary.
svn path=/main/trunk/; revision=4778
-rwxr-xr-xbin/emerge12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/emerge b/bin/emerge
index b1cd3fbc8..ad42e3fb7 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1416,18 +1416,6 @@ class depgraph:
correct merge order such that mutually blocking packages are never
installed simultaneously."""
- """ It's possible that some of the nodes haven't been added to the
- fakedb yet, so make sure they're all accounted for."""
- for node in self.digraph.all_nodes():
- node_split = node.split()
- mytype, myroot, mykey = node_split[0:3]
- if mytype in self.pkg_tree_map:
- if node_split[3] == "nomerge":
- continue
- mydb = self.trees[myroot][self.pkg_tree_map[mytype]].dbapi
- myslot = mydb.aux_get(mykey, ["SLOT"])[0]
- self.mydbapi[myroot].cpv_inject(mykey, myslot=myslot)
-
for blocker in self.blocker_parents.keys():
mytype, myroot, mydep = blocker.split()
vardb = self.trees[myroot]["vartree"].dbapi