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:34:00 +0000 (08:34 +0000)
committervsr <vsr@opencascade.com>
Fri, 12 Feb 2010 08:34:00 +0000 (08:34 +0000)
src/GEOM_I/GEOM_DumpPython.cc

index 13b9ce36eacb54b073b4a562de53388ba5764363..cd13b8678ae956a4a91925b6da744aa3bee47df1 100644 (file)
@@ -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)