From: crouzet Date: Fri, 11 Jan 2019 09:23:38 +0000 (+0100) Subject: correction bug gestion des bases produits X-Git-Tag: 5.3.0~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54cd393dc39ff0a8efb8e309e818ec28ee781aae;p=tools%2Fsat.git correction bug gestion des bases produits --- 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