From 637c2b40a9c09a0eb4580a9dc311c0d19f3c2282 Mon Sep 17 00:00:00 2001 From: crouzet Date: Thu, 20 Aug 2020 10:31:30 +0200 Subject: [PATCH] sat #19888 : supprime la reinit de ld et python path - incompatible avec module load --- src/environment.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/environment.py b/src/environment.py index 17029b1..875c4a5 100644 --- a/src/environment.py +++ b/src/environment.py @@ -388,14 +388,6 @@ class SalomeEnviron: else: self.cfg.APPLICATION.environ.PRODUCT_ROOT_DIR = src.pyconf.Reference(self.cfg, src.pyconf.DOLLAR, "workdir") - # these sensitive variables are reset to avoid bad environment interactions - self.add_line(1) - self.add_comment("reset these sensitive variables to avoid bad environment interactions") - self.add_comment("comment these to lines if you wish a different behaviour") - if not src.architecture.is_windows(): - self.set("LD_LIBRARY_PATH", "") - self.set("PYTHONPATH", "") - self.add_line(1) # Set the variables defined in the "environ" section if 'environ' in self.cfg.APPLICATION: -- 2.39.2