]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
Bug fix: wrong behavior when a product is in opt_depend of another product
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Mon, 19 Sep 2016 10:32:31 +0000 (12:32 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Mon, 19 Sep 2016 10:32:31 +0000 (12:32 +0200)
src/product.py

index b5ae9cb25141bd2dfdfb12519e42636e3687c837..f3e26826431d122207c4953a52e105116fa14653 100644 (file)
@@ -93,7 +93,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.PRODUCTS:
+                if depend in config.APPLICATION:
                     prod_info.depend.append(depend,'')
         
         # In case of a product get with a vcs,