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:34:00 +00:00
parent 87e982be73
commit 3a7cecdb25

View File

@ -91,10 +91,7 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
} }
} }
TCollection_AsciiString aScript = TCollection_AsciiString aScript;
"# -*- coding: iso-8859-1 -*-\n"
"### This file is generated by SALOME automatically by dump python functionality\n"
"### of GEOM component\n\n";
aScript += _impl->DumpPython(aStudy->StudyId(), aMap, aVariableMap, isPublished, isValidScript); aScript += _impl->DumpPython(aStudy->StudyId(), aMap, aVariableMap, isPublished, isValidScript);
if (isPublished) if (isPublished)