From 7f19d011f39ee0b6c73468837581607d56c29f3e Mon Sep 17 00:00:00 2001 From: SPN Salome - CEA Date: Thu, 22 Jun 2017 15:14:11 +0200 Subject: [PATCH] fix bug when MeshGems is not in the application --- commands/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/package.py b/commands/package.py index ad10ab0..5b18d13 100644 --- a/commands/package.py +++ b/commands/package.py @@ -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] -- 2.39.2