From 2971c74c2eaee1eea74375120d5f8e55e2da5c09 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Thu, 25 Jul 2019 07:36:50 +0200 Subject: [PATCH] #4519 Fix error in example python script --- .../GrpcInterface/Python/rips/examples/AllCases.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationCode/GrpcInterface/Python/rips/examples/AllCases.py b/ApplicationCode/GrpcInterface/Python/rips/examples/AllCases.py index e552ef6978..c99949759e 100644 --- a/ApplicationCode/GrpcInterface/Python/rips/examples/AllCases.py +++ b/ApplicationCode/GrpcInterface/Python/rips/examples/AllCases.py @@ -15,7 +15,7 @@ if resInsight is not None: assert(case.classKeyword() == "EclipseCase") print("\n#### Case ####") for keyword in case.keywords(): - print (keyword + ": " + case.getValue(keyword)) + print (keyword + ": " + str(case.getValue(keyword))) print ("\n####Project#####") pdmProject = case.ancestor(classKeyword="ResInsightProject") assert(pdmProject) @@ -23,7 +23,7 @@ if resInsight is not None: assert(pdmProject.address() == resInsight.project.address()) for keyword in resInsight.project.keywords(): - print (keyword + ": " + resInsight.project.getValue(keyword)) + print (keyword + ": " + str(resInsight.project.getValue(keyword))) pdmViews = resInsight.project.views() for view in pdmViews: print ("\n####View####")