Code Review
/
ccsdk
/
cds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Convert scripts to python3
[ccsdk/cds.git]
/
components
/
scripts
/
python
/
ccsdk_blueprints
/
sample_ra_processor_function.py
diff --git
a/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
b/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
index
fa82108
..
5e78981
100644
(file)
--- a/
components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
+++ b/
components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
@@
-1,14
+1,14
@@
-from abstract_ra_processor import AbstractRAProcessor
-from blueprint_constants import *
+from
.
abstract_ra_processor import AbstractRAProcessor
+from
.
blueprint_constants import *
class SampleRAProcessorFunction(AbstractRAProcessor):
def process(self, resource_assignment):
class SampleRAProcessorFunction(AbstractRAProcessor):
def process(self, resource_assignment):
- print
"Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH
+ print
("Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH)
self.set_resource_data_value(resource_assignment, "")
return None
def recover(self, runtime_exception, resource_assignment):
self.set_resource_data_value(resource_assignment, "")
return None
def recover(self, runtime_exception, resource_assignment):
- print
"Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH
+ print
("Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH)
return None
return None