mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 01:30:36 +05:00
Porting to Python 2.6 - add coding page specification for Python scripts
This commit is contained in:
parent
a31d4ccacb
commit
0d24fa55ca
@ -92,7 +92,7 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
|
||||
}
|
||||
|
||||
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\n"
|
||||
"### of GEOM component\n\n";
|
||||
aScript += _impl->DumpPython(aStudy->StudyId(), aMap, aVariableMap, isPublished, isValidScript);
|
||||
|
Loading…
Reference in New Issue
Block a user