From 98a9b7646d7cba2735b9f8db745b8b33505ab849 Mon Sep 17 00:00:00 2001 From: CEA Support SALOME Date: Tue, 7 Mar 2017 15:42:14 +0100 Subject: [PATCH] improve the load of environment for the APPLICATION.environ section --- src/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/environment.py b/src/environment.py index 29c8edb..ad7ff40 100644 --- a/src/environment.py +++ b/src/environment.py @@ -339,7 +339,7 @@ class SalomeEnviron: self.load_cfg_environment(self.cfg.APPLICATION.environ) if self.forBuild and "build" in self.cfg.APPLICATION.environ: self.load_cfg_environment(self.cfg.APPLICATION.environ.build) - if not self.forBuild and "launch" in pi.environ: + if not self.forBuild and "launch" in self.cfg.APPLICATION.environ: self.load_cfg_environment(self.cfg.APPLICATION.environ.launch) self.add_line(1) -- 2.39.2