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
(from parent 1:
30310d5
)
Porting to Python 2.6 - add coding page specification for Python scripts
author
dmv
<dmv@opencascade.com>
Mon, 12 Oct 2009 06:16:35 +0000
(06:16 +0000)
committer
dmv
<dmv@opencascade.com>
Mon, 12 Oct 2009 06:16:35 +0000
(06:16 +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 0dfffcdd65ed3e43d58ae91c6a46ccabff4e0b28..e940862ad90e053d0e26752ad542ee277d840e05 100644
(file)
--- a/
src/SMESH_I/SMESH_DumpPython.cxx
+++ b/
src/SMESH_I/SMESH_DumpPython.cxx
@@
-485,7
+485,7
@@
Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Object_ptr theStudy,
// Add trace of API methods calls and replace study entries by names
TCollection_AsciiString aScript =
- "#
!/usr/bin/python\n#
-*- coding: iso-8859-1 -*-\n"
+ "# -*- coding: iso-8859-1 -*-\n"
"### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n";
aScript += DumpPython_impl(aStudy, aMap, aMapNames,
isPublished, isValidScript, aSavedTrace);