Merge "Disabling strict mode for ConfigParser in read_ini"

This commit is contained in:
Zuul 2021-05-11 18:44:55 +00:00 committed by Gerrit Code Review
commit a9538a3ccd
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def get_result(path, section, key, default=None):
msg = ''
value = None
config = ConfigParser.SafeConfigParser()
config = ConfigParser.SafeConfigParser(strict=False)
try:
config.read(path)