From 1b4975a4e028c55bd423f0bb6bb5518f1505ad20 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 19 Sep 2018 18:28:38 +0300 Subject: [PATCH] '/usr/bin/env python' -> '/usr/bin/env python3' --- bin/appliskel/getAppliPath.py | 2 +- bin/appliskel/kill_remote_containers.py | 2 +- bin/appliskel/salome_starter.py | 2 +- .../tests/concurrentSession/TestMinimalExample.py | 2 +- bin/appliskel/tests/salomeCommand/add.py | 2 +- bin/appliskel/tests/salomeCommand/hello.py | 2 +- bin/appliskel/tests/salomeCommand/lines.py | 2 +- bin/appliskel/tests/salomeTest/salome_test.py | 2 +- bin/appliskel/update_catalogs.py | 2 +- doc/salome/tui/pythfilter.py | 2 +- src/AppQuickStart/app-quickstart.py | 2 +- src/Container/SALOME_ComponentPy.py | 2 +- src/Container/SALOME_Container.py | 2 +- src/Container/SALOME_ContainerPy.py | 2 +- src/Container/SALOME_PyNode.py | 2 +- src/Launcher/Test/launcher_use_case.py | 2 +- src/Launcher/Test/test_launcher.py | 10 +++++----- src/Launcher/launcher_proxy.py | 2 +- src/NamingService/SALOME_NamingServicePy.py | 2 +- src/TestContainer/SALOME_TestComponentPy.py | 2 +- src/TestContainer/TestComponentPy.py | 2 +- src/UnitTests/prepare_test.py | 2 +- src/Utils/Utils_Identity.py | 2 +- 23 files changed, 27 insertions(+), 27 deletions(-) diff --git a/bin/appliskel/getAppliPath.py b/bin/appliskel/getAppliPath.py index 460f5c592..bd268ea30 100755 --- a/bin/appliskel/getAppliPath.py +++ b/bin/appliskel/getAppliPath.py @@ -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 # diff --git a/bin/appliskel/kill_remote_containers.py b/bin/appliskel/kill_remote_containers.py index 39bb93397..39fa36c94 100755 --- a/bin/appliskel/kill_remote_containers.py +++ b/bin/appliskel/kill_remote_containers.py @@ -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 # diff --git a/bin/appliskel/salome_starter.py b/bin/appliskel/salome_starter.py index 737b4c15d..2dc218a94 100644 --- a/bin/appliskel/salome_starter.py +++ b/bin/appliskel/salome_starter.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2014-2017 CEA/DEN, EDF R&D, OPEN CASCADE # diff --git a/bin/appliskel/tests/concurrentSession/TestMinimalExample.py b/bin/appliskel/tests/concurrentSession/TestMinimalExample.py index 9771f9a27..03bd30e6a 100644 --- a/bin/appliskel/tests/concurrentSession/TestMinimalExample.py +++ b/bin/appliskel/tests/concurrentSession/TestMinimalExample.py @@ -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 diff --git a/bin/appliskel/tests/salomeCommand/add.py b/bin/appliskel/tests/salomeCommand/add.py index 2440c391c..a63de0ca7 100755 --- a/bin/appliskel/tests/salomeCommand/add.py +++ b/bin/appliskel/tests/salomeCommand/add.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE # diff --git a/bin/appliskel/tests/salomeCommand/hello.py b/bin/appliskel/tests/salomeCommand/hello.py index c2e7b8d17..4019047a2 100755 --- a/bin/appliskel/tests/salomeCommand/hello.py +++ b/bin/appliskel/tests/salomeCommand/hello.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE # diff --git a/bin/appliskel/tests/salomeCommand/lines.py b/bin/appliskel/tests/salomeCommand/lines.py index e80e74746..7593c8ec8 100755 --- a/bin/appliskel/tests/salomeCommand/lines.py +++ b/bin/appliskel/tests/salomeCommand/lines.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE # diff --git a/bin/appliskel/tests/salomeTest/salome_test.py b/bin/appliskel/tests/salomeTest/salome_test.py index 6119509e7..093e45ee5 100644 --- a/bin/appliskel/tests/salomeTest/salome_test.py +++ b/bin/appliskel/tests/salomeTest/salome_test.py @@ -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 diff --git a/bin/appliskel/update_catalogs.py b/bin/appliskel/update_catalogs.py index e9981d662..d687a06be 100644 --- a/bin/appliskel/update_catalogs.py +++ b/bin/appliskel/update_catalogs.py @@ -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 # diff --git a/doc/salome/tui/pythfilter.py b/doc/salome/tui/pythfilter.py index cb665591f..233c93c83 100644 --- a/doc/salome/tui/pythfilter.py +++ b/doc/salome/tui/pythfilter.py @@ -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 # diff --git a/src/AppQuickStart/app-quickstart.py b/src/AppQuickStart/app-quickstart.py index 1a3fde918..b85da9f55 100755 --- a/src/AppQuickStart/app-quickstart.py +++ b/src/AppQuickStart/app-quickstart.py @@ -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 # diff --git a/src/Container/SALOME_ComponentPy.py b/src/Container/SALOME_ComponentPy.py index b7c08321f..82d0400b9 100755 --- a/src/Container/SALOME_ComponentPy.py +++ b/src/Container/SALOME_ComponentPy.py @@ -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 # diff --git a/src/Container/SALOME_Container.py b/src/Container/SALOME_Container.py index 901f678a0..2b7822757 100644 --- a/src/Container/SALOME_Container.py +++ b/src/Container/SALOME_Container.py @@ -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 # diff --git a/src/Container/SALOME_ContainerPy.py b/src/Container/SALOME_ContainerPy.py index e3cff84ab..fac720be6 100755 --- a/src/Container/SALOME_ContainerPy.py +++ b/src/Container/SALOME_ContainerPy.py @@ -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 # diff --git a/src/Container/SALOME_PyNode.py b/src/Container/SALOME_PyNode.py index 64ba69239..21fb79ec1 100644 --- a/src/Container/SALOME_PyNode.py +++ b/src/Container/SALOME_PyNode.py @@ -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 # diff --git a/src/Launcher/Test/launcher_use_case.py b/src/Launcher/Test/launcher_use_case.py index eac14d71a..ad4fe9729 100644 --- a/src/Launcher/Test/launcher_use_case.py +++ b/src/Launcher/Test/launcher_use_case.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # classic use case of a job import os diff --git a/src/Launcher/Test/test_launcher.py b/src/Launcher/Test/test_launcher.py index 2fd76f2b1..22a846e19 100755 --- a/src/Launcher/Test/test_launcher.py +++ b/src/Launcher/Test/test_launcher.py @@ -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 diff --git a/src/Launcher/launcher_proxy.py b/src/Launcher/launcher_proxy.py index 77c1d7740..2b879d837 100755 --- a/src/Launcher/launcher_proxy.py +++ b/src/Launcher/launcher_proxy.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (C) 2017-2018 CEA/DEN, EDF R&D # diff --git a/src/NamingService/SALOME_NamingServicePy.py b/src/NamingService/SALOME_NamingServicePy.py index 7ca7f90fd..848c72d66 100644 --- a/src/NamingService/SALOME_NamingServicePy.py +++ b/src/NamingService/SALOME_NamingServicePy.py @@ -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 # diff --git a/src/TestContainer/SALOME_TestComponentPy.py b/src/TestContainer/SALOME_TestComponentPy.py index df6465692..4463ed7e8 100755 --- a/src/TestContainer/SALOME_TestComponentPy.py +++ b/src/TestContainer/SALOME_TestComponentPy.py @@ -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 # diff --git a/src/TestContainer/TestComponentPy.py b/src/TestContainer/TestComponentPy.py index 4ed27c7a3..46ae224f6 100755 --- a/src/TestContainer/TestComponentPy.py +++ b/src/TestContainer/TestComponentPy.py @@ -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, diff --git a/src/UnitTests/prepare_test.py b/src/UnitTests/prepare_test.py index 95397b91b..108f5ecd0 100755 --- a/src/UnitTests/prepare_test.py +++ b/src/UnitTests/prepare_test.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- usage=""" diff --git a/src/Utils/Utils_Identity.py b/src/Utils/Utils_Identity.py index 8565a5dfa..9eb9b183d 100644 --- a/src/Utils/Utils_Identity.py +++ b/src/Utils/Utils_Identity.py @@ -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 # -- 2.39.2