Skip to content

Commit 9317df0

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Trivial: Remove useless string_to_bool()"
2 parents ee1a477 + 5f0147a commit 9317df0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

openstackclient/common/utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@ def sort_items(items, sort_str):
259259
return items
260260

261261

262-
def string_to_bool(arg):
263-
return arg.strip().lower() in ('t', 'true', 'yes', '1')
264-
265-
266262
def env(*vars, **kwargs):
267263
"""Search for the first defined of possibly many env vars
268264

0 commit comments

Comments
 (0)