Add function docstring to appease lint

This commit is contained in:
Scott Armitage 2018-07-09 16:22:48 -07:00
parent 3fe338a35a
commit a09be984e1

View file

@ -265,6 +265,7 @@ def option_was_set(option, value):
def argparse_list(cast, values):
"""Wrap an argparse type function in a list (default: str)"""
if cast is None:
cast = str
return [cast(value) for value in values]