]> SALOME platform Git repositories - modules/visu.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:16:58 +0000 (06:16 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Oct 2009 06:16:58 +0000 (06:16 +0000)
src/VISU_I/VISU_DumpPython.cc

index c7e395e0255ae48d4de71bed08f744f57764dc64..9df871e64d29e635d9d5db825c9082afc441ea08 100644 (file)
@@ -2133,7 +2133,7 @@ namespace VISU
 #endif
 
     std::string aPrefix(PREFIX);
-    aStr<< "#!/usr/bin/python" << endl << "# -*- coding: iso-8859-1 -*-" << endl;
+    aStr<< "# -*- coding: iso-8859-1 -*-" << endl;
     aStr<<"### This file is generated by SALOME automatically by dump python functionality"
       " of VISU component"<<endl<<endl;
     aStr<<"def RebuildData(theStudy):"<<endl;