python-glanceclient/glanceclient
Cyril Roelandt 88e3b0ad98 Boolean options: use strict checking
Boolean options (such as "--protected" for glance md-namespace-update)
should accept a limited amount of valid values, rather than assuming an
"invalid" value means "False".

The following values (no matter the case) will now be interpreted as
True: ‘t’,’true’, ‘on’, ‘y’, ‘yes’, or ‘1’.

The following values (no matter the case) will now be interpreted as
False: ‘f’, ‘false’, ‘off’, ‘n’, ‘no’, or ‘0’.

Change-Id: I0e7942045d883ac398bab4a7a85f2b4ac9b1ed8c
Closes-Bug: #1607317
2022-11-14 17:31:39 +01:00
..
common Boolean options: use strict checking 2022-11-14 17:31:39 +01:00
tests Boolean options: use strict checking 2022-11-14 17:31:39 +01:00
v1 Merge "Do not use the six library." 2020-07-17 19:32:29 +00:00
v2 Merge "Add support for glance-download import method" 2022-08-30 14:57:55 +00:00
__init__.py Enable flake8 checks 2015-07-21 17:08:27 +03:00
_i18n.py Remove log translations 2017-03-21 07:19:21 +08:00
client.py Use import_versioned_module from oslo.utils 2016-12-06 09:35:55 +00:00
exc.py Do not use the six library. 2020-06-23 21:51:07 +02:00
shell.py glance help <subcommand>: Clearly specify which options are mandatory 2021-12-14 15:14:10 +00:00