From: CEA Support SALOME Date: Tue, 7 Mar 2017 14:42:14 +0000 (+0100) Subject: improve the load of environment for the APPLICATION.environ section X-Git-Tag: 5.0.0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=98a9b7646d7cba2735b9f8db745b8b33505ab849;p=tools%2Fsat.git improve the load of environment for the APPLICATION.environ section --- 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)