From 2029d91e2f4ddc5b16a8d8f0e7eebe12a3335ee4 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 12 Feb 2010 08:37:10 +0000 Subject: [PATCH] Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump --- src/SMESH_I/SMESH_DumpPython.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.2