From: Serge Rehbinder Date: Mon, 19 Sep 2016 10:32:31 +0000 (+0200) Subject: Bug fix: wrong behavior when a product is in opt_depend of another product X-Git-Tag: 5.0.0a1~116 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a1ba9bcd45903c39cd27a54c2f93a61dda6a7b3;p=tools%2Fsat.git Bug fix: wrong behavior when a product is in opt_depend of another product --- diff --git a/src/product.py b/src/product.py index b5ae9cb..f3e2682 100644 --- a/src/product.py +++ b/src/product.py @@ -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,