From: Nicolas CROUZET - SFME/LGLS Date: Wed, 18 Mar 2020 13:29:07 +0000 (+0100) Subject: source_dir n'existe pas pour les produits natifs X-Git-Tag: 5.6.0~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d31783043f5ef927b2115191975f164844c864fa;p=tools%2Fsat.git source_dir n'existe pas pour les produits natifs --- diff --git a/commands/prepare.py b/commands/prepare.py index 088edc3..66f77e0 100644 --- a/commands/prepare.py +++ b/commands/prepare.py @@ -49,7 +49,7 @@ def find_products_already_prepared(l_products): l_res = [] for p_name_p_cfg in l_products: __, prod_cfg = p_name_p_cfg - if os.path.exists(prod_cfg.source_dir): + if "source_dir" in prod_cfg and os.path.exists(prod_cfg.source_dir): l_res.append(p_name_p_cfg) return l_res