summaryrefslogtreecommitdiff
path: root/keystoneclient/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient/utils.py')
-rw-r--r--keystoneclient/utils.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/keystoneclient/utils.py b/keystoneclient/utils.py
index 06731d3..7b41a4b 100644
--- a/keystoneclient/utils.py
+++ b/keystoneclient/utils.py
@@ -135,13 +135,6 @@ def isunauthenticated(f):
return getattr(f, 'unauthenticated', False)
-def string_to_bool(arg):
- if isinstance(arg, bool):
- return arg
-
- return arg.strip().lower() in ('t', 'true', 'yes', '1')
-
-
def hash_signed_token(signed_text):
hash_ = hashlib.md5()
hash_.update(signed_text)