From: dmv Date: Mon, 12 Oct 2009 06:15:43 +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/?a=commitdiff_plain;h=0d24fa55cadb5f5169d3214555d7b40bbbe526bb;p=modules%2Fgeom.git Porting to Python 2.6 - add coding page specification for Python scripts --- diff --git a/src/GEOM_I/GEOM_DumpPython.cc b/src/GEOM_I/GEOM_DumpPython.cc index 5d0636a45..13b9ce36e 100644 --- a/src/GEOM_I/GEOM_DumpPython.cc +++ b/src/GEOM_I/GEOM_DumpPython.cc @@ -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);