From: Zac Medico Date: Tue, 25 Oct 2011 14:51:26 +0000 (-0700) Subject: expand_new_virt: fix vardbapi.root reference X-Git-Tag: v2.2.0_alpha72~78 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1a7e2ade1a907a3695e91d4be1e1ff3254085b0a;p=portage.git expand_new_virt: fix vardbapi.root reference --- diff --git a/pym/portage/dbapi/_expand_new_virt.py b/pym/portage/dbapi/_expand_new_virt.py index 6d6a27de8..d379b4c1d 100644 --- a/pym/portage/dbapi/_expand_new_virt.py +++ b/pym/portage/dbapi/_expand_new_virt.py @@ -63,7 +63,8 @@ def expand_new_virt(vardb, atom): success, atoms = portage.dep_check(rdepend, None, vardb.settings, myuse=valid_use, - myroot=vardb.root, trees={vardb.root:{"porttree":vardb.vartree, + myroot=vardb.settings['EROOT'], + trees={vardb.settings['EROOT']:{"porttree":vardb.vartree, "vartree":vardb.vartree}}) if success: