mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
2e24a04565
commit
a89be5e9d4
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ def list_jobs(ext_source=None,
|
|||
_match = False
|
||||
if 'Target' in ret[item]:
|
||||
targets = ret[item]['Target']
|
||||
if isinstance(targets, basestring):
|
||||
if isinstance(targets, six.string_types):
|
||||
targets = [targets]
|
||||
for target in targets:
|
||||
for key in salt.utils.split_input(search_target):
|
||||
|
|
Loading…
Add table
Reference in a new issue