mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue