]> SALOME platform Git repositories - modules/geom.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:43 +0000 (06:15 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Oct 2009 06:15:43 +0000 (06:15 +0000)
src/GEOM_I/GEOM_DumpPython.cc

index 5d0636a4518ecdc0b987ec297125cc5e6e996bf6..13b9ce36eacb54b073b4a562de53388ba5764363 100644 (file)
@@ -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);