From 3a7cecdb25d8995c6389a52733d422b7a169329a Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 12 Feb 2010 08:34:00 +0000 Subject: [PATCH] Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump --- src/GEOM_I/GEOM_DumpPython.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)