Salome HOME
Porting to Python 2.6 - add coding page specification for Python scripts
authordmv <dmv@opencascade.com>
Mon, 12 Oct 2009 06:16:35 +0000 (06:16 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Oct 2009 06:16:35 +0000 (06:16 +0000)
src/SMESH_I/SMESH_DumpPython.cxx

index 0dfffcdd65ed3e43d58ae91c6a46ccabff4e0b28..e940862ad90e053d0e26752ad542ee277d840e05 100644 (file)
@@ -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);