mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix typo found by @s0undt3ch
This commit is contained in:
parent
5dba74d2cb
commit
31d17c0124
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ def _call_function(name, returner=None, **kwargs):
|
|||
func_kw = dict(zip(argspec.args[-len(argspec.defaults or []):], # pylint: disable=incompatible-py3-code
|
||||
argspec.defaults or []))
|
||||
|
||||
# func_args is initialized to a list of keyword arguments the function to be run accepts
|
||||
# func_args is initialized to a list of positional arguments that the function to be run accepts
|
||||
func_args = argspec.args[:len(argspec.args or [] ) - len(argspec.defaults or [])]
|
||||
arg_type, na_type, kw_type = [], {}, False
|
||||
for funcset in reversed(kwargs.get('func_args') or []):
|
||||
|
|
Loading…
Add table
Reference in a new issue