From e3f81a6028afd09fbaefefbac83fc46c472903c4 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 14 Jun 2023 17:07:55 -0400 Subject: Convert scripts to python3 Convert python2 scripts to python3 Issue-ID: CCSDK-3906 Signed-off-by: Dan Timoney Change-Id: I68b82108c5cd51a99735f65f964b8ebc16181c1b --- .../baseconfiguration/Scripts/python/SampleRAProcessor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/SampleRAProcessor.py') diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/SampleRAProcessor.py b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/SampleRAProcessor.py index 30b9ff951..beb544b2c 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/SampleRAProcessor.py +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/SampleRAProcessor.py @@ -10,7 +10,7 @@ class SampleRAProcessor(AbstractRAProcessor): def process(self, execution_request): AbstractRAProcessor.process(self, execution_request) - print "Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH + print("Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH) if self.ra_valid is True: value = self.resolve_values_script(execution_request, self.value_to_resolve) self.set_resource_data_value(execution_request, value) @@ -20,10 +20,10 @@ class SampleRAProcessor(AbstractRAProcessor): def recover(self, runtime_exception, execution_request): AbstractRAProcessor.recover(self, runtime_exception, execution_request) - print "Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH + print("Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH) return None def resolve_values_script(self, execution_request, value_to_resolve): # TODO : DO business logic here - print "Resolve value for " + value_to_resolve + " here..." + print("Resolve value for " + value_to_resolve + " here...") return "test_python" -- cgit 1.2.3-korg