Added option to support case-insensitive keys

This change allows keys in INI format to be any case.
The default ConfigParse module sets this to be lower
however in some cases keys are needed to be upper and/or
mixed.

Change-Id: I4e0dedb1b73ee596929bd425af6b0aaefd3a6c27
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit f946160dd0)
pull/904/head
Kevin Carter 2016-07-25 16:37:23 -05:00
parent 46720ebf4a
commit 2aa894167a
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ class ActionModule(ActionBase):
allow_no_value=True,
dict_type=MultiKeyDict
)
config.optionxform = str
except Exception:
config = ConfigTemplateParser(dict_type=MultiKeyDict)