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:
llg8212 2014-01-23 10:20:19 +08:00
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