Skip to content
Snippets Groups Projects
Commit 3b2ff777 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

FIX(scanner): variables are only replaced if parameters are present at all

parent d6c95eb2
Branches
Tags
2 merge requests!217TST: Make NamedTemporaryFiles Windows-compatible,!204Allow variable replacement in parameters of transformer functions
......@@ -583,6 +583,7 @@ class Converter(object, metaclass=ABCMeta):
raise RuntimeError("Unknown transformer function: {}".format(tr_func_key))
# Do variable replacment on function parameters:
if tr_func_params is not None:
for key in tr_func_params:
tr_func_params[key] = replace_variables(tr_func_params[key], values)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment