Salome HOME
Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump
authorvsr <vsr@opencascade.com>
Fri, 12 Feb 2010 08:37:10 +0000 (08:37 +0000)
committervsr <vsr@opencascade.com>
Fri, 12 Feb 2010 08:37:10 +0000 (08:37 +0000)
src/SMESH_I/SMESH_DumpPython.cxx

index 3e872a3da2daf0d10b84b7fcd0ef0b9ad1c95aeb..5cc57fa79f640ea87111356d4213da733e10d62e 100644 (file)
@@ -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);