From 0d24fa55cadb5f5169d3214555d7b40bbbe526bb Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 12 Oct 2009 06:15:43 +0000 Subject: [PATCH] Porting to Python 2.6 - add coding page specification for Python scripts --- src/GEOM_I/GEOM_DumpPython.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOM_I/GEOM_DumpPython.cc b/src/GEOM_I/GEOM_DumpPython.cc index 5d0636a45..13b9ce36e 100644 --- a/src/GEOM_I/GEOM_DumpPython.cc +++ b/src/GEOM_I/GEOM_DumpPython.cc @@ -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); -- 2.39.2