summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-25 01:01:28 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-25 01:01:28 -0700
commit7713091defd27441d7ddb94b7e5a6c0f1310ea89 (patch)
tree90f0cb45f66f542e43e158b4f4372537b977a4b3
parent371f0fe1e997e279d75ce6d4a070b90331e7e52d (diff)
downloadportage-7713091defd27441d7ddb94b7e5a6c0f1310ea89.tar.gz
portage-7713091defd27441d7ddb94b7e5a6c0f1310ea89.tar.bz2
portage-7713091defd27441d7ddb94b7e5a6c0f1310ea89.zip
Add EROOT support to setconfig_fallback().
-rw-r--r--pym/_emerge/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index c8a6ee4bf..81a868748 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1001,7 +1001,7 @@ def setconfig_fallback(root_config):
from portage.sets.profiles import PackagesSystemSet
setconfig = root_config.setconfig
setconfig.psets['world'] = DummyPackageSet(atoms=['@selected', '@system'])
- setconfig.psets['selected'] = WorldSelectedSet(root_config.root)
+ setconfig.psets['selected'] = WorldSelectedSet(root_config.settings['EROOT'])
setconfig.psets['system'] = \
PackagesSystemSet(root_config.settings.profiles)
root_config.sets = setconfig.getSets()