summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/_sets/__init__.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py
index 73adafd3e..04937c379 100644
--- a/pym/portage/_sets/__init__.py
+++ b/pym/portage/_sets/__init__.py
@@ -34,10 +34,11 @@ class SetConfigError(Exception):
class SetConfig(object):
def __init__(self, paths, settings, trees):
- defaults={
- "PORTAGE_CONFIGROOT" : settings["PORTAGE_CONFIGROOT"],
- "ROOT" : settings["ROOT"],
- })
+ self._parser = SafeConfigParser(
+ 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.