]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
'/usr/bin/env python' -> '/usr/bin/env python3'
authorrnv <rnv@opencascade.com>
Wed, 19 Sep 2018 15:28:38 +0000 (18:28 +0300)
committerrnv <rnv@opencascade.com>
Wed, 19 Sep 2018 15:28:38 +0000 (18:28 +0300)
23 files changed:
bin/appliskel/getAppliPath.py
bin/appliskel/kill_remote_containers.py
bin/appliskel/salome_starter.py
bin/appliskel/tests/concurrentSession/TestMinimalExample.py
bin/appliskel/tests/salomeCommand/add.py
bin/appliskel/tests/salomeCommand/hello.py
bin/appliskel/tests/salomeCommand/lines.py
bin/appliskel/tests/salomeTest/salome_test.py
bin/appliskel/update_catalogs.py
doc/salome/tui/pythfilter.py
src/AppQuickStart/app-quickstart.py
src/Container/SALOME_ComponentPy.py
src/Container/SALOME_Container.py
src/Container/SALOME_ContainerPy.py
src/Container/SALOME_PyNode.py
src/Launcher/Test/launcher_use_case.py
src/Launcher/Test/test_launcher.py
src/Launcher/launcher_proxy.py
src/NamingService/SALOME_NamingServicePy.py
src/TestContainer/SALOME_TestComponentPy.py
src/TestContainer/TestComponentPy.py
src/UnitTests/prepare_test.py
src/Utils/Utils_Identity.py

index 460f5c592dc4a8f5890c212b5f5636f6cc1bc5b2..bd268ea3045060e8b99213646c68888b1f498b40 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 39bb933976f004645b663e86d822f26d67274840..39fa36c9423a300072959ea4c337235e1198d524 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #  -*- coding: utf-8 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 737b4c15d1a837bdeca62fa4d9da9634499ee4a4..2dc218a9479beb01873d88303afa7aa1303412c7 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # Copyright (C) 2014-2017  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 9771f9a2722202f5b4fe7a3a2467003007a83fad..03bd30e6a2b48deeb91a20bae57a567eaf119163 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Copyright (C) 2013-2017  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
index 2440c391c6de839e3ce4ac899365a2c6b7e77cad..a63de0ca706db4f8bc4dcc5b7c242e49ba899cab 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index c2e7b8d175ed9e46e03eca341bd1fccf3615c532..4019047a29fb669ca1fc830326bca4d9c4f102c1 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index e80e74746f9d977f1ac28cc557d1728f11bbeb2b..7593c8ec83022b6b299e1b462189a46e99e90e4d 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 6119509e7139d7df9500ef236e1de3734b224ad8..093e45ee5bc90ddd981021394f1ff48f785cb6be 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Copyright (C) 2017  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
index e9981d662fcae5d72f454139802af87a0ae8aa68..d687a06be11bf39108eb65a855f4ae6389851098 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #  -*- coding: utf-8 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index cb665591f0576fc42f0e06edc5bc42b2468f8a58..233c93c83d77e6ba99de3cb10998f03d660b9e8b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 1a3fde9183a91144c68bea1a33972d1cbb9950ed..b85da9f5577752dc7f02dc645cfd3f0e27352d62 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index b7c08321f4c31bd58836543f4b320d6704e000df..82d0400b99cad7e0ce16e95ea6f1b7965ec5bd12 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 901f678a0225cf3082eb7b545ad64d8ce94c0849..2b7822757136d0535e999500aa38f864f8f0d888 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index e3cff84ab61feca568a2eefa98454571687edf0e..fac720be6d16f922725d704f7d91c3e3134a212e 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 64ba692392e743c1618a67e74f55776cff6f05fd..21fb79ec1765481a875dc18a24bdba7f41648309 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index eac14d71ad680654c6516afdb9f6119c98fc04f8..ad4fe97292d1c6230f1174bf267ec15f70206216 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 # classic use case of a job
 import os
index 2fd76f2b1b818d9710007ea83c3682942f22a1c7..22a846e197d1da40dc61e35e66bb8ce688be90af 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 import unittest
@@ -81,7 +81,7 @@ class TestCompo(unittest.TestCase):
     # job script
     script_file = "myScript.py"
     job_script_file = os.path.join(case_test_dir, script_file)
-    script_text = """#! /usr/bin/env python
+    script_text = """#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 # verify import salome
@@ -158,7 +158,7 @@ f.close()
     # job script
     data_file = "in.txt"
     script_file = "myEnvScript.py"
-    script_text = """#! /usr/bin/env python
+    script_text = """#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 import os,sys
@@ -474,7 +474,7 @@ f.close()
     
     # job script
     script_file = "myTestScript.py"
-    script_text = """#! /usr/bin/env python
+    script_text = """#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 in_f = open("in.txt", "r")
@@ -544,7 +544,7 @@ f.close()
     # job script
     data_file = "in.txt"
     script_file = "myEnvScript.py"
-    script_text = """#! /usr/bin/env python
+    script_text = """#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 import os,sys
index 77c1d7740a712c233eed7e048eadf1c3c2d8ddbe..2b879d837a189f8cfee80ea3b624f813b63a0acb 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Copyright (C) 2017-2018  CEA/DEN, EDF R&D
 #
index 7ca7f90fdbbb5b5b27db56aad2a105cc4802a58c..848c72d6691eef57236d2e333afbe17c2441d98d 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index df64656928cae9b21b8277f35cac8337b581bb97..4463ed7e816415def782c85f429a87c650e8af73 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
index 4ed27c7a358e67d1175f5992cd9865cb8b2706c2..46ae224f6aac51e73cd87ad1ec9b7ce1d725dc5d 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
index 95397b91b1636e15dc2206669d47f45ffe95bd5c..108f5ecd033b57cd749b9424baceead98c9028db 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 usage="""
index 8565a5dfaad7d635927e6ab530853178ba9395a8..9eb9b183d369b26be9c4783313fb103c4e983eed 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 #  -*- coding: iso-8859-1 -*-
 # Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 #