Remove unused method 'string_to_bool' from utils
The method 'string_to_bool' in utils is not used. Furthermore, if we need this method in the future, we should use 'bool_from_string' from oslo cliutils to replace it. partially implements blueprint common-client-library-2 Change-Id: I82af6e358d7082222fe7a09c8f27351189a82fbc
This commit is contained in:
parent
2856afddce
commit
8bbfc436fa
@ -150,10 +150,6 @@ def find_resource(manager, name_or_id):
|
||||
raise exc.CommandError(msg)
|
||||
|
||||
|
||||
def string_to_bool(arg):
|
||||
return arg.strip().lower() in ('t', 'true', 'yes', '1')
|
||||
|
||||
|
||||
def env(*vars, **kwargs):
|
||||
"""Search for the first defined of possibly many env vars
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user