listProd = list(options.products)
else: # no product interpeted as all products
listProd = [name for name, tmp in products_infos]
- if runner.cfg.APPLICATION.properties.github == 'yes':
+
+ git_server = src.get_git_server(runner.cfg,logger)
+
+ if src.check_git_repository_has_non_opensource( runner.cfg, git_server):
not_opensource_products = [p for p in products_infos if src.product.product_is_not_opensource(p[1])]
listProd = [p for p in listProd if p not in [name for name, tmp in not_opensource_products]]