From 630e3674dac1f06dc13e9b560442281c5bb5bfe6 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 12 Oct 2009 06:16:35 +0000 Subject: [PATCH] Porting to Python 2.6 - add coding page specification for Python scripts --- src/SMESH_I/SMESH_DumpPython.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 0dfffcdd6..e940862ad 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -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); -- 2.39.2