diff --git a/ligo/gracedb/utils.py b/ligo/gracedb/utils.py index f3a510458fcbecad412786b205cfa73aa4d431f6..fa62e4522dd4035534c8c8df310229b8dad9c598 100644 --- a/ligo/gracedb/utils.py +++ b/ligo/gracedb/utils.py @@ -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):