From 1310f71452965376ecd8d5338ebcf0183c6dc725 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Thu, 12 Jan 2017 09:51:42 +0100 Subject: [PATCH] fix bug for opt_depend key --- src/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.2