From: vsr Date: Fri, 12 Feb 2010 08:34:00 +0000 (+0000) Subject: Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump X-Git-Tag: V5_1_4a1~62 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a7cecdb25d8995c6389a52733d422b7a169329a;p=modules%2Fgeom.git Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump --- diff --git a/src/GEOM_I/GEOM_DumpPython.cc b/src/GEOM_I/GEOM_DumpPython.cc index 13b9ce36e..cd13b8678 100644 --- a/src/GEOM_I/GEOM_DumpPython.cc +++ b/src/GEOM_I/GEOM_DumpPython.cc @@ -91,10 +91,7 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy, } } - 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"; + TCollection_AsciiString aScript; aScript += _impl->DumpPython(aStudy->StudyId(), aMap, aVariableMap, isPublished, isValidScript); if (isPublished)