aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/golden
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/model-catalog/blueprint-model/test-blueprint/golden
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/model-catalog/blueprint-model/test-blueprint/golden')
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/ConfigDeploy.py2
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py2
-rw-r--r--components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/Rollback.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/ConfigDeploy.py b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/ConfigDeploy.py
index 2146be7ce..7e80fd813 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/ConfigDeploy.py
+++ b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/ConfigDeploy.py
@@ -48,5 +48,5 @@ class ConfigDeploy(NetconfComponentFunction):
def recover(self, runtime_exception, execution_request):
log.error("Exception in the script {}", runtime_exception)
- print self.addError(runtime_exception.cause.message)
+ print(self.addError(runtime_exception.cause.message))
return None
diff --git a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
index 8482a89d3..66c6e32c6 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
+++ b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/DescriptionExample.py
@@ -38,5 +38,5 @@ class DescriptionExample(AbstractRAProcessor):
def recover(self, runtime_exception, resource_assignment):
log.error("Exception in the script {}", runtime_exception)
- print self.addError(runtime_exception.cause.message)
+ print(self.addError(runtime_exception.cause.message))
return None
diff --git a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/Rollback.py b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/Rollback.py
index 40b3c3dcd..dbfdade2b 100644
--- a/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/Rollback.py
+++ b/components/model-catalog/blueprint-model/test-blueprint/golden/Scripts/python/Rollback.py
@@ -39,5 +39,5 @@ class Rollback(NetconfComponentFunction):
def recover(self, runtime_exception, execution_request):
log.error("Exception in the script {}", runtime_exception)
- print self.addError(runtime_exception.cause.message)
+ print(self.addError(runtime_exception.cause.message))
return None