]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Porting to Python 2.6 - add coding page specification for Python scripts
authordmv <dmv@opencascade.com>
Mon, 12 Oct 2009 06:15:10 +0000 (06:15 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Oct 2009 06:15:10 +0000 (06:15 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index d00b62794cc3f1cc724b65c6bd57b1bdd26990cf..a4212078194a1bab15ed0834a604990207bbdfa5 100644 (file)
@@ -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;