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 05702b322d..f825154056 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 @@ -82,8 +82,8 @@ private Value doEvaluateExpressionJython(String expr, Map jythonContext = createJythonContext(context); boolean systemPropertiesDefined = false; - if (functionDependencies.contains(ScriptFunction.GET_SYSTEM_PROPERTY) || - functionDependencies.contains(ScriptFunction.GET_SP_VAR)) { + if (functionDependencies.contains(ScriptFunction.GET_SYSTEM_PROPERTY) + || functionDependencies.contains(ScriptFunction.GET_SP_VAR)) { systemPropertiesDefined = true; } @@ -100,8 +100,8 @@ private Value doEvaluateExpressionExternalPython(String expr, Set functionDependencies) { Map pythonContext = createExternalPythonContext(context); boolean systemPropertiesDefined = false; - if (functionDependencies.contains(ScriptFunction.GET_SYSTEM_PROPERTY) || - functionDependencies.contains(ScriptFunction.GET_SP_VAR)) { + if (functionDependencies.contains(ScriptFunction.GET_SYSTEM_PROPERTY) + || functionDependencies.contains(ScriptFunction.GET_SP_VAR)) { systemPropertiesDefined = true; } if (systemPropertiesDefined) { diff --git a/cloudslang-runtime/src/main/resources/scripts/get_sp_var.py b/cloudslang-runtime/src/main/resources/scripts/get_sp_var.py index ef9446c5e3..3e6cda5b9c 100644 --- a/cloudslang-runtime/src/main/resources/scripts/get_sp_var.py +++ b/cloudslang-runtime/src/main/resources/scripts/get_sp_var.py @@ -5,4 +5,4 @@ def get_sp_var(key): value1 = globals().get(key) accessed(value1) property_value = sys_prop.get(value1) - return property_value \ No newline at end of file + return property_value