Convert scripts to python3
[ccsdk/cds.git] / components / scripts / python / ccsdk_blueprints / sample_blueprint_component.py
index a1e6c5d..ca0be57 100644 (file)
@@ -1,5 +1,5 @@
-from abstract_blueprint_function import AbstractPythonComponentFunction
-from blueprint_constants import *
+from .abstract_blueprint_function import AbstractPythonComponentFunction
+from .blueprint_constants import *
 
 
 class SampleBlueprintComponent(AbstractPythonComponentFunction):
@@ -9,10 +9,10 @@ class SampleBlueprintComponent(AbstractPythonComponentFunction):
 
     def process(self, execution_request):
         super(SamplePythonComponentNode, self).process(execution_request)
-        print "Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH
+        print("Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH)
         return None
 
     def recover(self, runtime_exception, execution_request):
         super(SamplePythonComponentNode, self).recover(runtime_exception, execution_request)
-        print "Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH
+        print("Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH)
         return None