mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Remove the list cast
This commit is contained in:
parent
afaf028f9a
commit
04302a4fbb
@ -1181,7 +1181,7 @@ def clean_kwargs(**kwargs):
|
||||
passing the kwargs forward wholesale.
|
||||
'''
|
||||
ret = {}
|
||||
for key, val in six.iteritems(list(kwargs)):
|
||||
for key, val in six.iteritems(kwargs):
|
||||
if not key.startswith('__pub'):
|
||||
ret[key] = val
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user