Commit 12f24daf authored by Nicolas Delaby's avatar Nicolas Delaby Committed by Arnaud Fontaine

Fix usage of defaults values of RawConfigParser

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils/erp5.utils.web_checker/@39325 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2f886395
......@@ -441,6 +441,10 @@ def web_checker_utility():
file_log_path = config.get('web_checker', 'file_log_path')
header_list = {}
for header, configuration in config.items('header_list'):
if key in config.defaults().keys():
# defaults are shared for all sections.
# so discard them from header_list
continue
if configuration in ('True', 'true', 'yes'):
value = True
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment