]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
Correcting generation of products list in prepare command
authorThomas Aubry <support-salome@cea.fr>
Wed, 20 Jun 2018 08:20:07 +0000 (10:20 +0200)
committerThomas Aubry <support-salome@cea.fr>
Wed, 20 Jun 2018 08:20:07 +0000 (10:20 +0200)
commands/prepare.py

index 687d051b6748649886755ce25ed7945a0a1f4500..8f12d40e6b8390b5cbbf41b6fb4221d35f561e65 100644 (file)
@@ -176,7 +176,10 @@ def run(args, runner, logger):
             args_product_opt += ',' + p_name
     else:
         for p_name, __ in products_infos:
-            args_product_opt += ',' + p_name
+            if args_product_opt == '--products ':
+                args_product_opt += p_name
+            else:
+                args_product_opt += ',' + p_name
 
     ldev_products = [p for p in products_infos if src.product.product_is_dev(p[1])]
     args_product_opt_clean = args_product_opt