commands: set extra_params to '' if value is None
Change-Id: Ie3077203eabffc2550ec0b7f3af61991dce7c4b9
This commit is contained in:
parent
512d64fd78
commit
b4510448eb
|
@ -511,6 +511,8 @@ def discover_subcommands(os_command, subcommands, extra_params):
|
|||
:return: the list of subcommands discovered
|
||||
:rtype: list(str)
|
||||
"""
|
||||
if extra_params is None:
|
||||
extra_params = ''
|
||||
print(("Discovering subcommands of '%s' %s ..."
|
||||
% (os_command, extra_params)))
|
||||
blacklist = ['bash-completion', 'complete', 'help']
|
||||
|
|
Loading…
Reference in New Issue