Porting to Python 2.6 - add coding page specification for Python scripts

This commit is contained in:
dmv 2009-10-12 06:15:43 +00:00
parent a31d4ccacb
commit 0d24fa55ca

View File

@ -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);