summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/RootConfig.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-25 01:59:39 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-25 01:59:39 -0700
commita715b65f7bd36409c1283e6911265d1f4405ab7a (patch)
treef3ad709ca1495be750163ced02fe11562566f910 /pym/_emerge/RootConfig.py
parent25aaf3e69b8ef0e9a21d0d74a9b7b690b76675cd (diff)
downloadportage-a715b65f7bd36409c1283e6911265d1f4405ab7a.tar.gz
portage-a715b65f7bd36409c1283e6911265d1f4405ab7a.tar.bz2
portage-a715b65f7bd36409c1283e6911265d1f4405ab7a.zip
Use EROOT instead of ROOT for keys everywhere.
It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
Diffstat (limited to 'pym/_emerge/RootConfig.py')
-rw-r--r--pym/_emerge/RootConfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/RootConfig.py b/pym/_emerge/RootConfig.py
index d84f10889..bb0d7682a 100644
--- a/pym/_emerge/RootConfig.py
+++ b/pym/_emerge/RootConfig.py
@@ -19,7 +19,7 @@ class RootConfig(object):
def __init__(self, settings, trees, setconfig):
self.trees = trees
self.settings = settings
- self.root = self.settings["ROOT"]
+ self.root = self.settings['EROOT']
self.setconfig = setconfig
if setconfig is None:
self.sets = {}