Index: chainedconfigparser.py |
diff --git a/chainedconfigparser.py b/chainedconfigparser.py |
index 610baf46debe0dbc9c2610b0040826ccf97ff410..bf34d1fdff0bce27c1ef15af5e8a6bb1c7549871 100644 |
--- a/chainedconfigparser.py |
+++ b/chainedconfigparser.py |
@@ -216,7 +216,7 @@ class ChainedConfigParser(ConfigParser.SafeConfigParser): |
tail = parents.pop() |
current = base |
for name in parents: |
- current = base.setdefault(name, {}) |
+ current = current.setdefault(name, {}) |
if '\n' in v: |
current[tail] = [parse_value(x) for x in v.splitlines() if x] |