]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
source_dir n'existe pas pour les produits natifs
authorNicolas CROUZET - SFME/LGLS <crouzet@is228840.intra.cea.fr>
Wed, 18 Mar 2020 13:29:07 +0000 (14:29 +0100)
committerNicolas CROUZET - SFME/LGLS <crouzet@is228840.intra.cea.fr>
Wed, 18 Mar 2020 13:29:07 +0000 (14:29 +0100)
commands/prepare.py

index 088edc34bda360927e2c5bda4ea97d33c20f061c..66f77e0606c7a09372af5295fe17f6a5deef33b2 100644 (file)
@@ -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