David Stanek ef6f9bc46a Refactors _Namespace to make the code clearer
The original implentation of _Namespace._get_cli_value relied on the
fact that _Namespace.default doesn't exist and accessing it would raise
an AttributeError. This attribute was being caught for another reason so
the logic just worked.

The more correct thing to do would have been to just raise a KeyError.
This change does that and removes the need to catch an AttributeErrors.

Change-Id: I963b31ea6ea8ab5180314be7cd2450395263e1af
Closes-bug: #1284968
2014-06-27 01:20:07 +00:00
2014-02-14 10:16:33 +00:00
2013-03-14 12:04:19 -07:00
2013-05-03 17:26:07 -04:00
2013-05-03 12:38:15 -04:00
2013-02-17 09:25:32 +00:00
2013-06-13 10:39:54 +02:00
2013-05-03 12:38:15 -04:00
2014-04-30 02:45:43 +00:00

Oslo Configuration Library

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%