This commit is contained in:
Mike Place 2017-10-01 10:59:09 +02:00
parent 31d17c0124
commit 49f25b9f19

View file

@ -319,8 +319,8 @@ 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 positional arguments that the function to be run accepts
func_args = argspec.args[:len(argspec.args or [] ) - len(argspec.defaults or [])]
# 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 []):
if not isinstance(funcset, dict):