summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configobj.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configobj.py b/configobj.py
index 20d92b0..90fad5b 100644
--- a/configobj.py
+++ b/configobj.py
@@ -1223,6 +1223,9 @@ class ConfigObj(Section):
for entry, value in OPTION_DEFAULTS.items():
if entry not in options:
options[entry] = value
+ keyword_value = _options[entry]
+ if value != keyword_value:
+ options[entry] = keyword_value
# XXXX this ignores an explicit list_values = True in combination
# with _inspec. The user should *never* do that anyway, but still...