Verified Commit 99651820 authored by Tanner Prestegard's avatar Tanner Prestegard
Browse files

utils: remove unused cleanListInput

parent f89f8971
......@@ -38,20 +38,6 @@ def handle_str_or_list_arg(arg, arg_name):
return arg
# XXX It would be nice to get rid of this if we can.
# It seems that you can pass python lists via the requests package.
# That would make putting our lists into comma-separated strings
# unnecessary.
def cleanListInput(list_arg):
stringified_list = list_arg
if isinstance(list_arg, float) or isinstance(list_arg, int):
stringified_value = str(list_arg)
return stringified_value
if not isinstance(list_arg, six.string_types):
stringified_list = ','.join(map(str, list_arg))
return stringified_list
# Parse a datetime object out of the openssl output.
# Note that this returns a naive datetime object.
class safe_netrc(netrc):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment