Salome HOME
sat #28781 : patch to treat hpc global option like the others
authorcrouzet <nicolas.crouzet@cea.fr>
Fri, 28 Jan 2022 13:10:23 +0000 (14:10 +0100)
committercrouzet <nicolas.crouzet@cea.fr>
Fri, 28 Jan 2022 13:10:23 +0000 (14:10 +0100)
src/product.py

index 4c72a43657f385fd5729358b2ff00416a0d74032..90879ead10d9b8f154279e19b42fe15faca83468 100644 (file)
@@ -149,7 +149,7 @@ def get_product_config(config, product_name, with_install_dir=True):
         
         # Get the hpc if any
         if 'hpc' in dic_version:
-            hpc = dic_version.hpc
+            hpc = dic_version['hpc']
         elif 'hpc' in config.APPLICATION:
             hpc = config.APPLICATION.hpc