X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=components%2Fmodel-catalog%2Fblueprint-model%2Ftest-blueprint%2Fbaseconfiguration%2FScripts%2Fpython%2FNetconfRpcExample.py;fp=components%2Fmodel-catalog%2Fblueprint-model%2Ftest-blueprint%2Fbaseconfiguration%2FScripts%2Fpython%2FNetconfRpcExample.py;h=a11b0d4b7776cba3af8243f5dfb542babdd22513;hb=2593494642c8f425f5e6897241312006563797b1;hp=2fd6c6659ba36c5c71d4c345a94bfcea535f99f0;hpb=5e9a1da4ef37b6b47ba428325478b79466d7d181;p=ccsdk%2Fcds.git diff --git a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/NetconfRpcExample.py b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/NetconfRpcExample.py index 2fd6c6659..a11b0d4b7 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/NetconfRpcExample.py +++ b/components/model-catalog/blueprint-model/test-blueprint/baseconfiguration/Scripts/python/NetconfRpcExample.py @@ -42,11 +42,11 @@ class NetconfRpcExample(AbstractScriptComponentFunction): nc.unlock() nc.disconnect() - except JavaException, err: + except JavaException as err: log.error("Java Exception in the script {}", err) - except Exception, err: + except Exception as err: log.error("Python Exception in the script {}", err) def recover(self, runtime_exception, execution_request): - print "Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH + print("Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH) return None