From: Thomas Aubry Date: Wed, 20 Jun 2018 08:20:07 +0000 (+0200) Subject: Correcting generation of products list in prepare command X-Git-Tag: 5.1.0~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a9ba01da788c9319bf1d35bfb62898461c4ba7e;p=tools%2Fsat.git Correcting generation of products list in prepare command --- diff --git a/commands/prepare.py b/commands/prepare.py index 687d051..8f12d40 100644 --- a/commands/prepare.py +++ b/commands/prepare.py @@ -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