From: SPN Salome - CEA Date: Thu, 22 Jun 2017 13:14:11 +0000 (+0200) Subject: fix bug when MeshGems is not in the application X-Git-Tag: V8_3_0~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f19d011f39ee0b6c73468837581607d56c29f3e;p=tools%2Fsat.git fix bug when MeshGems is not in the application --- 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]