Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump

This commit is contained in:
vsr 2010-02-12 08:37:10 +00:00
parent 2cd3dfdd08
commit 2029d91e2f

View File

@ -497,9 +497,7 @@ Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Object_ptr theStudy,
TCollection_AsciiString aSavedTrace (oldValue); TCollection_AsciiString aSavedTrace (oldValue);
// Add trace of API methods calls and replace study entries by names // Add trace of API methods calls and replace study entries by names
TCollection_AsciiString aScript = TCollection_AsciiString aScript;
"# -*- coding: iso-8859-1 -*-\n"
"### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n";
aScript += DumpPython_impl(aStudy, aMap, aMapNames, aScript += DumpPython_impl(aStudy, aMap, aMapNames,
isPublished, isValidScript, aSavedTrace); isPublished, isValidScript, aSavedTrace);