Salome HOME
Remove all .txt files from salomeTools in packages (can be here if it
authorSPN Salome - CEA <support-salome@cea.fr>
Thu, 29 Jun 2017 09:52:14 +0000 (11:52 +0200)
committerSPN Salome - CEA <support-salome@cea.fr>
Thu, 29 Jun 2017 09:52:14 +0000 (11:52 +0200)
comes from a jobs command)

commands/package.py

index a86c6ce875aca0cfa56f1a78902940d1e56d78ae..af8148e63777b6ac70f53586c852eec500004d45 100644 (file)
@@ -689,7 +689,7 @@ def add_salomeTools(config, tmp_working_dir):
     # can be here and is not useful) 
     files_or_dir_SAT = os.listdir(os.path.join(tmp_working_dir, "salomeTools"))
     for file_or_dir in files_or_dir_SAT:
-        if file_or_dir.endswith(".pyconf"):
+        if file_or_dir.endswith(".pyconf") or file_or_dir.endswith(".txt"):
             file_path = os.path.join(tmp_working_dir,
                                      "salomeTools",
                                      file_or_dir)