From 90e9de2ac0e43698cf535426c1ca6a201efe26be Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Jul 2006 20:31:06 +0000 Subject: [PATCH] Use the correct bintree and porttree for bug #137446. svn path=/main/trunk/; revision=3782 --- pym/portage.py | 4 ++-- 1 file 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) -- 2.26.2