From: Serge Rehbinder Date: Thu, 12 Jan 2017 08:51:42 +0000 (+0100) Subject: fix bug for opt_depend key X-Git-Tag: 5.0.0a1~38^2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1310f71452965376ecd8d5338ebcf0183c6dc725;p=tools%2Fsat.git fix bug for opt_depend key --- diff --git a/src/product.py b/src/product.py index 0574edd..5abe3af 100644 --- a/src/product.py +++ b/src/product.py @@ -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,