summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-25 07:51:26 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-25 07:51:26 -0700
commit1a7e2ade1a907a3695e91d4be1e1ff3254085b0a (patch)
tree7e41872b4bbb673c074b0a3ff812bf1e6d077ab2
parenta715b65f7bd36409c1283e6911265d1f4405ab7a (diff)
downloadportage-1a7e2ade1a907a3695e91d4be1e1ff3254085b0a.tar.gz
portage-1a7e2ade1a907a3695e91d4be1e1ff3254085b0a.tar.bz2
portage-1a7e2ade1a907a3695e91d4be1e1ff3254085b0a.zip
expand_new_virt: fix vardbapi.root reference
-rw-r--r--pym/portage/dbapi/_expand_new_virt.py3
1 files changed, 2 insertions, 1 deletions
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: