diff --git a/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluator.java b/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluator.java index 9d9e8585d5..1d6f43c288 100644 --- a/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluator.java +++ b/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluator.java @@ -34,7 +34,7 @@ import java.util.stream.Collectors; import java.util.stream.Stream; -import static io.cloudslang.runtime.api.python.enums.PythonStrategy.PYTHON_SERVER; +import static io.cloudslang.runtime.api.python.enums.PythonStrategy.PYTHON_EXECUTOR; import static io.cloudslang.runtime.api.python.enums.PythonStrategy.getPythonStrategy; /** @@ -50,7 +50,7 @@ public class ScriptEvaluator extends ScriptProcessor { private static final String BACKWARD_COMPATIBLE_ACCESS_METHOD = "def accessed(key):" + LINE_SEPARATOR + " pass"; private static final PythonStrategy PYTHON_EVALUATOR = - getPythonStrategy(System.getProperty("python.expressionsEval"), PYTHON_SERVER); + getPythonStrategy(System.getProperty("python.expressionsEval"), PYTHON_EXECUTOR); public static final int MAX_LENGTH = Integer.getInteger("input.error.max.length", 1000); @Resource(name = "externalPythonRuntimeService") @@ -68,7 +68,7 @@ public Value evalExpr(String expr, Map context, Set