]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[tuleap29134] : fix for runSalomeOld.py the defaut SSL mode in -t context V9_9_0a1
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 3 Mar 2022 10:16:22 +0000 (11:16 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 3 Mar 2022 10:16:22 +0000 (11:16 +0100)
bin/runSalomeOld.py
src/KERNEL_PY/__init__.py

index f25f5106ef469b4d72135729af412d0b0dd5eef2..323965f2685ba883619d6f5c33f21b44ca1224c0 100755 (executable)
@@ -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
index aa27871762a8c4525efe337aca7f4ea03c3a26ae..af8e0d02cf4e1f9e5673afc51de0b78938477bb8 100644 (file)
@@ -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