python-glanceclient/glanceclient/common
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
..
__init__.py Basic get/list operations work 2012-03-26 22:48:48 -07:00
exceptions.py Add Apache 2.0 license to source file 2016-10-04 09:38:39 +07:00
http.py Merge "Do not use the six library." 2020-07-17 19:32:29 +00:00
https.py Do not use the six library. 2020-06-23 21:51:07 +02:00
progressbar.py Do not use the six library. 2020-06-23 21:51:07 +02:00
utils.py Boolean options: use strict checking 2022-11-14 17:31:39 +01:00