mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
Porting to Python 2.6 - add coding page specification for Python scripts
This commit is contained in:
parent
30310d58ad
commit
630e3674da
@ -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
|
// Add trace of API methods calls and replace study entries by names
|
||||||
TCollection_AsciiString aScript =
|
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";
|
"### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n";
|
||||||
aScript += DumpPython_impl(aStudy, aMap, aMapNames,
|
aScript += DumpPython_impl(aStudy, aMap, aMapNames,
|
||||||
isPublished, isValidScript, aSavedTrace);
|
isPublished, isValidScript, aSavedTrace);
|
||||||
|
Loading…
Reference in New Issue
Block a user