From 2a9ba01da788c9319bf1d35bfb62898461c4ba7e Mon Sep 17 00:00:00 2001 From: Thomas Aubry Date: Wed, 20 Jun 2018 10:20:07 +0200 Subject: [PATCH] Correcting generation of products list in prepare command --- commands/prepare.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2