mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #51080 from garethgreenaway/50966_nxos_ensure_kwargs_list
[2018.3] Fix to nxos module
This commit is contained in:
commit
335088b96f
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def cmd(command, *args, **kwargs):
|
|||
proxy_cmd = '.'.join([proxy_prefix, command])
|
||||
if proxy_cmd not in __proxy__:
|
||||
return False
|
||||
for k in kwargs:
|
||||
for k in list(kwargs):
|
||||
if k.startswith('__pub_'):
|
||||
kwargs.pop(k)
|
||||
return __proxy__[proxy_cmd](*args, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue