From: dmv Date: Mon, 12 Oct 2009 06:15:10 +0000 (+0000) Subject: Porting to Python 2.6 - add coding page specification for Python scripts X-Git-Tag: V5_1_3rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dd1c1ede5ca31db209bd77f24d941bd99f94ce09;p=modules%2Fkernel.git Porting to Python 2.6 - add coding page specification for Python scripts --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index d00b62794..a42120781 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -1220,7 +1220,7 @@ bool SALOMEDSImpl_Study::DumpStudy(const string& thePath, //Output to the main Study script required Python modules import, //set sys.path and add a creation of the study. - fp << "#!/usr/bin/python" << endl << "# -*- coding: iso-8859-1 -*-\n" << endl; + fp << "# -*- coding: iso-8859-1 -*-\n" << endl; fp << GetDumpStudyComment() << endl << endl;