summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/_sets/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py
index 95a4be16d..73adafd3e 100644
--- a/pym/portage/_sets/__init__.py
+++ b/pym/portage/_sets/__init__.py
@@ -34,8 +34,10 @@ class SetConfigError(Exception):
class SetConfig(object):
def __init__(self, paths, settings, trees):
- self._parser = SafeConfigParser(
- defaults={"PORTAGE_CONFIGROOT" : settings["PORTAGE_CONFIGROOT"]})
+ defaults={
+ "PORTAGE_CONFIGROOT" : settings["PORTAGE_CONFIGROOT"],
+ "ROOT" : settings["ROOT"],
+ })
#self._parser.read(paths)
# The "paths" argument is ignored and the config for
# system and world sets is hardcoded below.