diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-12-14 07:54:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-14 07:54:55 +0000 |
commit | 0b47551b94921080e3501b12a007148c4c5a52cc (patch) | |
tree | 8b8e1d6f31ee0403d4e3fbb790990d79ec5410d7 /docs/submodules/barometer | |
parent | 5e3862706cff9594e1e3155d2233df2b0833918a (diff) |
Update git submodules
* Update docs/submodules/yardstick from branch 'master'
- Merge "Ansible: fix lowercasing issue with ConfigParser"
- Ansible: fix lowercasing issue with ConfigParser
by default ConfigParser will lowercase everything,
unless you override optionxform.
also sort key value in inventory line for consistency
https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.optionxform
Transforms the option name option as found in an input file or as passed in by
client code to the form that should be used in the internal structures. The
default implementation returns a lower-case version of option; subclasses may
override this or client code can set an attribute of this name on instances to
affect this behavior.
You don’t need to subclass the parser to use this method, you can also set it
on an instance, to a function that takes a string argument and returns a
string. Setting it to str, for example, would make option names case sensitive:
cfgparser = ConfigParser()
cfgparser.optionxform = str
Note that when reading configuration files, whitespace around the option names
is stripped before optionxform() is called.
YARDSTICK-833
Change-Id: Ia1810b0c77922d84e11c9e538540b38816338593
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'docs/submodules/barometer')
0 files changed, 0 insertions, 0 deletions