From 04b59b7c4c209b334672482093060b23ed105cf1 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 3 Mar 2022 11:16:22 +0100 Subject: [PATCH] [tuleap29134] : fix for runSalomeOld.py the defaut SSL mode in -t context --- bin/runSalomeOld.py | 2 +- src/KERNEL_PY/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2