From: dmv Date: Mon, 12 Oct 2009 06:16:35 +0000 (+0000) Subject: Porting to Python 2.6 - add coding page specification for Python scripts X-Git-Tag: V5_1_3rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=630e3674dac1f06dc13e9b560442281c5bb5bfe6 Porting to Python 2.6 - add coding page specification for Python scripts --- diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 0dfffcdd6..e940862ad 100644 --- 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);