mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Add function docstring to appease lint
This commit is contained in:
parent
3fe338a35a
commit
a09be984e1
1 changed files with 1 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue