mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
swap out list() for square brackets. potentially faster.
This commit is contained in:
parent
04db92f79b
commit
07cc1ca8ae
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ class State:
|
|||
)
|
||||
if "cmd_opts_exclude" in low_data:
|
||||
if not isinstance(low_data["cmd_opts_exclude"], list):
|
||||
cmd_opts_exclude = list(low_data["cmd_opts_exclude"])
|
||||
cmd_opts_exclude = [low_data["cmd_opts_exclude"]]
|
||||
else:
|
||||
cmd_opts_exclude = low_data["cmd_opts_exclude"]
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue