mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
PyLint fix #25723
This commit is contained in:
parent
3e46cb9213
commit
a872b5eecf
@ -1590,11 +1590,11 @@ _RECURSE_TYPES = ['user', 'group', 'mode', 'ignore_files', 'ignore_dirs']
|
||||
|
||||
|
||||
def _get_recurse_set(recurse):
|
||||
"""
|
||||
'''
|
||||
Converse *recurse* definition to a set of strings.
|
||||
|
||||
|
||||
Raises TypeError or ValueError when *recurse* has wrong structure.
|
||||
"""
|
||||
'''
|
||||
if not recurse:
|
||||
return set()
|
||||
if not isinstance(recurse, list):
|
||||
|
Loading…
Reference in New Issue
Block a user