From 54cd393dc39ff0a8efb8e309e818ec28ee781aae Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 11 Jan 2019 10:23:38 +0100 Subject: [PATCH] correction bug gestion des bases produits --- complete_sat.sh | 2 +- src/product.py | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/complete_sat.sh b/complete_sat.sh index ad1d94b..5b87bf7 100755 --- a/complete_sat.sh +++ b/complete_sat.sh @@ -237,7 +237,7 @@ _salomeTools_complete() return 0 ;; package) - opts="--name --binaries --sources --project --salometools --force_creation --add_files --with_vcs --without_commercial --without_property" + opts="--name --binaries --sources --project --salometools --force_creation --add_files --with_vcs --ftp --without_commercial --without_property" COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 ;; diff --git a/src/product.py b/src/product.py index 7ce6866..5bd554d 100644 --- a/src/product.py +++ b/src/product.py @@ -541,13 +541,6 @@ def check_config_exists(config, prod_dir, prod_info, verbose=False): if not os.path.exists(config_file): continue - # If there is no dependency, it is the right path - if len(prod_info.depend)==0: - compile_cfg = src.pyconf.Config(config_file) - if len(compile_cfg) == 0: - return True, os.path.join(prod_dir, dir_or_file) - continue - # check if there is the config described in the file corresponds the # dependencies of the product config_corresponds = True -- 2.39.2