mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Don't put unserializable dict.keys() into state return
Running ``list()`` on the dictionary produces the same list, and has the benefit of not catastrophically failing on Python 3.
This commit is contained in:
parent
7038248820
commit
042e092ac8
@ -253,7 +253,7 @@ def run(**kwargs):
|
||||
if 'name' in kwargs:
|
||||
kwargs.pop('name')
|
||||
ret = {
|
||||
'name': kwargs.keys(),
|
||||
'name': list(kwargs),
|
||||
'changes': {},
|
||||
'comment': '',
|
||||
'result': None,
|
||||
|
Loading…
Reference in New Issue
Block a user