From d841cbbebf7b127fc4606e8b6fe0a2f9dab59ed7 Mon Sep 17 00:00:00 2001 From: Konstantin LEONTEV Date: Thu, 23 Feb 2023 16:12:29 +0100 Subject: [PATCH] [bos #32522][EDF] SALOME on Demand. Revert to using None for SalomeContext init. --- bin/SalomeOnDemandTK/extension_utilities.py | 2 +- bin/runSalomeOnDemand.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/SalomeOnDemandTK/extension_utilities.py b/bin/SalomeOnDemandTK/extension_utilities.py index 2a5b72864..deb8ee6df 100644 --- a/bin/SalomeOnDemandTK/extension_utilities.py +++ b/bin/SalomeOnDemandTK/extension_utilities.py @@ -596,7 +596,7 @@ def set_selext_env(install_dir, salomex_name, context=None): # Set the root dir as env variable if not context: - context = salomeContext.SalomeContext(0) + context = salomeContext.SalomeContext(None) context.setVariable('SALOME_APPLICATION_DIR', install_dir, overwrite=False) # Find env file diff --git a/bin/runSalomeOnDemand.py b/bin/runSalomeOnDemand.py index 1117b6a51..1326dd827 100755 --- a/bin/runSalomeOnDemand.py +++ b/bin/runSalomeOnDemand.py @@ -62,7 +62,7 @@ def set_ext_env(app_name='', version=''): return # Set the root dir as env variable - context = salomeContext.SalomeContext(0) + context = salomeContext.SalomeContext(None) context.setVariable('SALOME_APPLICATION_DIR', app_root, overwrite=True) # Execute env file as a module -- 2.39.2