ChangBo Guo(gcb) a671f9a1e2 Disallow config option name as same as attribute of ConfigOpts
If user use config option name(in 'DEFAULT' group) is same with
ConfigOpts's internal attribute like 'project', CONF.project
returns attribute value instead of option value without any error.
That means internal attribute override user's config option in
'DEFAULT' group. The attribute list is: project, prog, version,
usage, and default_config_files. This commit disallows illegal
name in 'DEFAULT' group before registering it.

Closes-Bug: #1550859

Change-Id: I5531092d4899e565176ed3a31821decb35ddfdc9
2016-03-18 13:38:54 +08:00
2013-03-14 12:04:19 -07:00
2013-05-03 17:26:07 -04:00
2013-02-17 09:25:32 +00:00
2015-09-17 12:15:55 +00:00

Oslo Configuration Library

Latest Version

Downloads

The Oslo configuration API supports parsing command line arguments and .ini style configuration files.

Description
OpenStack library for config
Readme 12 MiB
Languages
Python 99.8%
Shell 0.2%