From: Anthony Geay Date: Thu, 3 Mar 2022 10:16:22 +0000 (+0100) Subject: [tuleap29134] : fix for runSalomeOld.py the defaut SSL mode in -t context X-Git-Tag: V9_9_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04b59b7c4c209b334672482093060b23ed105cf1;p=modules%2Fkernel.git [tuleap29134] : fix for runSalomeOld.py the defaut SSL mode in -t context --- diff --git a/bin/runSalomeOld.py b/bin/runSalomeOld.py index f25f5106e..323965f26 100755 --- a/bin/runSalomeOld.py +++ b/bin/runSalomeOld.py @@ -412,7 +412,7 @@ def useSalome(args, modules_list, modules_root_dir): toopen = args['study_hdf'] if toopen: import salome - salome.salome_init(path=toopen) + salome.salome_init_with_session(path=toopen) if 'pyscript' in args: toimport = args['pyscript'] from salomeContextUtils import formatScriptsAndArgs diff --git a/src/KERNEL_PY/__init__.py b/src/KERNEL_PY/__init__.py index aa2787176..af8e0d02c 100644 --- a/src/KERNEL_PY/__init__.py +++ b/src/KERNEL_PY/__init__.py @@ -322,7 +322,7 @@ def salome_init_with_session(path=None, embedded=False): import time time.sleep(0.2) x = inst - print("salome.salome_init():", x) + print("salome.salome_init_with_session():", x) print(""" ============================================ May be there is no running SALOME session