From dd1c1ede5ca31db209bd77f24d941bd99f94ce09 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 12 Oct 2009 06:15:10 +0000 Subject: [PATCH] Porting to Python 2.6 - add coding page specification for Python scripts --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2