Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e982b
)
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:34:00 +0000
(08:34 +0000)
committer
vsr
<vsr@opencascade.com>
Fri, 12 Feb 2010 08:34:00 +0000
(08:34 +0000)
src/GEOM_I/GEOM_DumpPython.cc
patch
|
blob
|
history
diff --git
a/src/GEOM_I/GEOM_DumpPython.cc
b/src/GEOM_I/GEOM_DumpPython.cc
index 13b9ce36eacb54b073b4a562de53388ba5764363..cd13b8678ae956a4a91925b6da744aa3bee47df1 100644
(file)
--- 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)