]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
application
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 14:11:15 +0000 (16:11 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Tue, 13 Sep 2016 14:11:15 +0000 (16:11 +0200)
commands/application.py

index 48f9f37a468667d4334790774cefcfad7097920f..1452eb6fe279a3c4fdcea646eb3063393fc8bef9 100644 (file)
@@ -177,7 +177,7 @@ def generate_application(config, appli_dir, config_file, logger):
     
     # Add SALOME python in the environment in order to avoid python version 
     # problems at appli_gen.py call
-    if 'Python' in config.APPLICATIONS.products:
+    if 'Python' in config.APPLICATION.products:
         envi = src.environment.SalomeEnviron(config,
                                              src.environment.Environ(
                                                               dict(os.environ)),