Salome HOME
correction bug gestion des bases produits
authorcrouzet <nicolas.crouzet@cea.fr>
Fri, 11 Jan 2019 09:23:38 +0000 (10:23 +0100)
committercrouzet <nicolas.crouzet@cea.fr>
Fri, 11 Jan 2019 09:23:38 +0000 (10:23 +0100)
complete_sat.sh
src/product.py

index ad1d94bd672634554df907790ebbc0254ac283bc..5b87bf7abfa26d1ba56e75b2436cd72b8b617f59 100755 (executable)
@@ -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
             ;;
index 7ce6866b9b22172908a7c585b8a3ff4bed32c4fc..5bd554dab5f77c8f5e5b7f9fe07e5a3fbf512fc2 100644 (file)
@@ -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