summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/pluginmanager.py
diff options
context:
space:
mode:
authorRick Harris <rconradharris@gmail.com>2013-05-13 19:35:09 +0000
committerRick Harris <rconradharris@gmail.com>2013-05-14 17:11:01 +0000
commit536c39e8e315af4b1823cfa378f3db441a212b1a (patch)
tree18517023b563a2ed4d4a6e9744f70378883ad5f4 /openstack/common/plugin/pluginmanager.py
parent20379f2816774469287502cf857dc01a93ad1370 (diff)
downloadoslo-536c39e8e315af4b1823cfa378f3db441a212b1a.tar.gz
oslo-536c39e8e315af4b1823cfa378f3db441a212b1a.tar.xz
oslo-536c39e8e315af4b1823cfa378f3db441a212b1a.zip
Add 't', 'y', and `strict` to `bool_from_string`
't' and 'y' are commonly used for booleans as well, and since it's used in Nova already, probably makes sense to add common support for it. `strict` allows callers to detect anonmolous values so they can be handled separately. This is particularly useful when parsing input from API calls where bad values might result in 4XX errors instead of being treated as False. Change-Id: I6218a1895f72cfbfd81776602e63ca3d093475e0
Diffstat (limited to 'openstack/common/plugin/pluginmanager.py')
0 files changed, 0 insertions, 0 deletions