Salome HOME
fix bug when MeshGems is not in the application
authorSPN Salome - CEA <support-salome@cea.fr>
Thu, 22 Jun 2017 13:14:11 +0000 (15:14 +0200)
committerSPN Salome - CEA <support-salome@cea.fr>
Thu, 22 Jun 2017 13:14:11 +0000 (15:14 +0200)
commands/package.py

index ad10ab0a878ef975c50352e590078ab0327f9f5b..5b18d13e3a9b75064cdc767d44246b30c1b8df65 100644 (file)
@@ -250,6 +250,8 @@ def hack_for_distene_licence(filepath):
     if num_line == -1:
         # No distene product, there is nothing to do
         fin.close()
+        for line in text:
+            fout.write(line)
         fout.close()
         return
     del text[num_line +1]