mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Trivial: Remove useless string_to_bool()"
This commit is contained in:
commit
9317df07a2
1 changed files with 0 additions and 4 deletions
|
|
@ -259,10 +259,6 @@ def sort_items(items, sort_str):
|
|||
return items
|
||||
|
||||
|
||||
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…
Add table
Reference in a new issue