aboutsummaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2023-06-14 17:07:55 -0400
committerDan Timoney <dtimoney@att.com>2023-06-14 17:07:55 -0400
commit2593494642c8f425f5e6897241312006563797b1 (patch)
tree7b0311126f48415263ab3f011851a6dbf9b14598 /components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py
parent5e9a1da4ef37b6b47ba428325478b79466d7d181 (diff)
Convert scripts to python3
Convert python2 scripts to python3 Issue-ID: CCSDK-3906 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I68b82108c5cd51a99735f65f964b8ebc16181c1b
Diffstat (limited to 'components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py')
-rw-r--r--components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py b/components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py
index 05fe2e082..9f0fd4a71 100644
--- a/components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py
+++ b/components/scripts/python/ccsdk_blueprints/abstract_ra_processor.py
@@ -9,11 +9,11 @@ from org.onap.ccsdk.cds.controllerblueprints.core import \
class AbstractRAProcessor(ResourceAssignmentProcessor):
def process(self, resource_assignment):
- print "Processing.."
+ print("Processing..")
return None
def recover(self, runtime_exception, resource_assignment):
- print "Recovering.."
+ print("Recovering..")
return None
def set_resource_data_value(self, resource_assignment, value):
@@ -24,6 +24,6 @@ class AbstractRAProcessor(ResourceAssignmentProcessor):
else:
ResourceAssignmentUtils.Companion.setFailedResourceDataValue(
resource_assignment, "Fail to resolve value")
- except BluePrintProcessorException, err:
+ except BluePrintProcessorException as err:
raise BluePrintProcessorException(
"Error on resource assignment. Message = " + err.message)