Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cd3dfd
)
Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump
author
vsr
<vsr@opencascade.com>
Fri, 12 Feb 2010 08:37:10 +0000
(08:37 +0000)
committer
vsr
<vsr@opencascade.com>
Fri, 12 Feb 2010 08:37:10 +0000
(08:37 +0000)
src/SMESH_I/SMESH_DumpPython.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_DumpPython.cxx
b/src/SMESH_I/SMESH_DumpPython.cxx
index 3e872a3da2daf0d10b84b7fcd0ef0b9ad1c95aeb..5cc57fa79f640ea87111356d4213da733e10d62e 100644
(file)
--- a/
src/SMESH_I/SMESH_DumpPython.cxx
+++ b/
src/SMESH_I/SMESH_DumpPython.cxx
@@
-497,9
+497,7
@@
Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Object_ptr theStudy,
TCollection_AsciiString aSavedTrace (oldValue);
// Add trace of API methods calls and replace study entries by names
- TCollection_AsciiString aScript =
- "# -*- coding: iso-8859-1 -*-\n"
- "### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n";
+ TCollection_AsciiString aScript;
aScript += DumpPython_impl(aStudy, aMap, aMapNames,
isPublished, isValidScript, aSavedTrace);