From: vsr Date: Fri, 12 Feb 2010 08:37:10 +0000 (+0000) Subject: Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump X-Git-Tag: V5_1_4a1~88 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2029d91e2f4ddc5b16a8d8f0e7eebe12a3335ee4;p=modules%2Fsmesh.git Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump --- diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 3e872a3da..5cc57fa79 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -497,9 +497,7 @@ Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Object_ptr theStudy, TCollection_AsciiString aSavedTrace (oldValue); // Add trace of API methods calls and replace study entries by names - TCollection_AsciiString aScript = - "# -*- coding: iso-8859-1 -*-\n" - "### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n"; + TCollection_AsciiString aScript; aScript += DumpPython_impl(aStudy, aMap, aMapNames, isPublished, isValidScript, aSavedTrace);