]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
fix bug for opt_depend key
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 12 Jan 2017 08:51:42 +0000 (09:51 +0100)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 12 Jan 2017 08:51:42 +0000 (09:51 +0100)
src/product.py

index 0574eddffe7be2d8c1e5e449c84021ccf9341dab..5abe3af23351bc5d6657c8e24d83bf3916b4087e 100644 (file)
@@ -91,7 +91,7 @@ def get_product_config(config, product_name, with_install_dir=True):
         # merge opt_depend in depend
         if prod_info is not None and 'opt_depend' in prod_info:
             for depend in prod_info.opt_depend:
-                if depend in config.APPLICATION:
+                if depend in config.APPLICATION.products:
                     prod_info.depend.append(depend,'')
         
         # In case of a product get with a vcs,