summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-03 20:31:06 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-03 20:31:06 +0000
commit90e9de2ac0e43698cf535426c1ca6a201efe26be (patch)
tree96eaef27a1feff74593ff1b06532adf3c62193e8
parent0c525f6dea211103a54d4165ba61a47d325598af (diff)
downloadportage-90e9de2ac0e43698cf535426c1ca6a201efe26be.tar.gz
portage-90e9de2ac0e43698cf535426c1ca6a201efe26be.tar.bz2
portage-90e9de2ac0e43698cf535426c1ca6a201efe26be.zip
Use the correct bintree and porttree for bug #137446.
svn path=/main/trunk/; revision=3782
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3e37a3078..47373869b 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -3339,9 +3339,9 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
available_pkgs = {}
for atom in relevant_atoms:
if use_binaries:
- pkg_list = trees["/"]["bintree"].dbapi.match(atom)
+ pkg_list = trees[myroot]["bintree"].dbapi.match(atom)
else:
- pkg_list = trees["/"]["porttree"].dbapi.xmatch("match-visible", atom)
+ pkg_list = trees[myroot]["porttree"].dbapi.xmatch("match-visible", atom)
if not pkg_list:
continue
pkg = best(pkg_list)