From 8bf03a623b00a3c786c5fdb1a0d633eb5964464d Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 8 Sep 2019 18:43:12 +0200 Subject: [PATCH] change default python interpreter to python3 --- .gitlab-ci.yml | 20 ++++++++++---------- scripts/boobank | 2 +- scripts/boobathon | 2 +- scripts/boobcoming | 2 +- scripts/boobill | 2 +- scripts/booblyrics | 2 +- scripts/boobmsg | 2 +- scripts/boobooks | 2 +- scripts/boobsize | 2 +- scripts/boobtracker | 2 +- scripts/boomoney | 2 +- scripts/cineoob | 2 +- scripts/comparoob | 2 +- scripts/cookboob | 2 +- scripts/flatboob | 2 +- scripts/galleroob | 2 +- scripts/geolooc | 2 +- scripts/handjoob | 2 +- scripts/havedate | 2 +- scripts/monboob | 2 +- scripts/parceloob | 2 +- scripts/pastoob | 2 +- scripts/qbooblyrics | 2 +- scripts/qboobmsg | 2 +- scripts/qboobtracker | 2 +- scripts/qcineoob | 2 +- scripts/qcookboob | 2 +- scripts/qflatboob | 2 +- scripts/qgalleroob | 2 +- scripts/qhandjoob | 2 +- scripts/qhavedate | 2 +- scripts/qvideoob | 2 +- scripts/qwebcontentedit | 2 +- scripts/radioob | 2 +- scripts/shopoob | 2 +- scripts/suboob | 2 +- scripts/translaboob | 2 +- scripts/traveloob | 2 +- scripts/videoob | 2 +- scripts/webcontentedit | 2 +- scripts/weboob | 2 +- scripts/weboob-cli | 2 +- scripts/weboob-config | 2 +- scripts/weboob-config-qt | 2 +- scripts/weboob-debug | 2 +- scripts/weboob-repos | 2 +- scripts/weboorrents | 2 +- scripts/wetboobs | 2 +- setup.py | 2 +- tools/check_xpath.py | 2 +- tools/common.sh | 6 +++--- tools/local_install.py | 2 +- tools/local_run.py | 2 +- tools/make_man.py | 2 +- tools/modules_testing_grid.py | 2 +- tools/stale_pyc.py | 2 +- 56 files changed, 67 insertions(+), 67 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 09950e3c6b..45d022662d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,33 +7,33 @@ build:2.7: image: "python:2.7" stage: "build" script: - - "./tools/local_install.sh ~/bin" + - "./tools/local_install.sh -2 ~/bin" pyflakes:2.7: image: "python:2.7" stage: "test" script: - - "./tools/pyflakes.sh" + - "./tools/pyflakes.sh -2" lint:2.7: image: "python:2.7" stage: "test" allow_failure: true script: - - "./tools/weboob_lint.sh" + - "./tools/weboob_lint.sh -2" unittests:2.7: image: "python:2.7" stage: "test" script: - - "./tools/run_tests.sh --no-modules" + - "./tools/run_tests.sh -2 --no-modules" unittests-modules:2.7: image: "python:2.7" stage: "test" allow_failure: true script: - - "./tools/run_tests.sh --no-core" + - "./tools/run_tests.sh -2 --no-core" doc:2.7: image: "python:2.7" @@ -45,33 +45,33 @@ build:3: image: "python:3" stage: "build" script: - - "./tools/local_install.sh -3 ~/bin" + - "./tools/local_install.sh ~/bin" pyflakes:3: image: "python:3" stage: "test" script: - - "./tools/pyflakes.sh -3" + - "./tools/pyflakes.sh" lint:3: image: "python:3" stage: "test" allow_failure: true script: - - "./tools/weboob_lint.sh -3" + - "./tools/weboob_lint.sh" unittests:3: image: "python:3" stage: "test" script: - - "./tools/run_tests.sh -3 --no-modules" + - "./tools/run_tests.sh --no-modules" unittests-modules:3: image: "python:3" stage: "test" allow_failure: true script: - - "./tools/run_tests.sh -3 --no-core" + - "./tools/run_tests.sh --no-core" doc:3: image: "python:3" diff --git a/scripts/boobank b/scripts/boobank index f8c26f6d22..d31a8832ae 100755 --- a/scripts/boobank +++ b/scripts/boobank @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/boobathon b/scripts/boobathon index eea4854e46..893d4f09af 100755 --- a/scripts/boobathon +++ b/scripts/boobathon @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/boobcoming b/scripts/boobcoming index 9a339739aa..af798e2b7c 100755 --- a/scripts/boobcoming +++ b/scripts/boobcoming @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2013 Bezleputh diff --git a/scripts/boobill b/scripts/boobill index a46acd7a14..1872e3cfd2 100755 --- a/scripts/boobill +++ b/scripts/boobill @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/booblyrics b/scripts/booblyrics index 0f241ac3e6..9821c83d28 100755 --- a/scripts/booblyrics +++ b/scripts/booblyrics @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/boobmsg b/scripts/boobmsg index 68612c88fc..ca2357f6d6 100755 --- a/scripts/boobmsg +++ b/scripts/boobmsg @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/boobooks b/scripts/boobooks index 9829df5274..eb457feb67 100755 --- a/scripts/boobooks +++ b/scripts/boobooks @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/boobsize b/scripts/boobsize index 678b822e39..3eebd6cf06 100755 --- a/scripts/boobsize +++ b/scripts/boobsize @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/boobtracker b/scripts/boobtracker index dabad033db..5f90d5788e 100755 --- a/scripts/boobtracker +++ b/scripts/boobtracker @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2011 Romain Bignon diff --git a/scripts/boomoney b/scripts/boomoney index 9cc3387ea8..85d052bb09 100755 --- a/scripts/boomoney +++ b/scripts/boomoney @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/cineoob b/scripts/cineoob index ada8d32075..14440fec09 100755 --- a/scripts/cineoob +++ b/scripts/cineoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/comparoob b/scripts/comparoob index 30ab280c2d..9dc83ea8dd 100755 --- a/scripts/comparoob +++ b/scripts/comparoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/cookboob b/scripts/cookboob index e3a8e4693d..852aa6b40e 100755 --- a/scripts/cookboob +++ b/scripts/cookboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/flatboob b/scripts/flatboob index ba0068ea2d..54a1f92919 100755 --- a/scripts/flatboob +++ b/scripts/flatboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/galleroob b/scripts/galleroob index 967a6f9f35..bbf20864b9 100755 --- a/scripts/galleroob +++ b/scripts/galleroob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2010-2011 NoƩ Rubinstein diff --git a/scripts/geolooc b/scripts/geolooc index 1ff1a1f0d3..cd89e15bb8 100755 --- a/scripts/geolooc +++ b/scripts/geolooc @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/handjoob b/scripts/handjoob index a833d45266..ded0e665ed 100755 --- a/scripts/handjoob +++ b/scripts/handjoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2013 Bezleputh diff --git a/scripts/havedate b/scripts/havedate index 93ffb79eb0..310c6c9a96 100755 --- a/scripts/havedate +++ b/scripts/havedate @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/monboob b/scripts/monboob index ac3ca777d3..b7de85e326 100755 --- a/scripts/monboob +++ b/scripts/monboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/parceloob b/scripts/parceloob index 24e0741e84..cdd8217bac 100755 --- a/scripts/parceloob +++ b/scripts/parceloob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/pastoob b/scripts/pastoob index 1356e8421c..d5f30aa2ce 100755 --- a/scripts/pastoob +++ b/scripts/pastoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qbooblyrics b/scripts/qbooblyrics index 07f88ab5f2..c1660fe89d 100755 --- a/scripts/qbooblyrics +++ b/scripts/qbooblyrics @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qboobmsg b/scripts/qboobmsg index cb35044dbb..23a5f0009e 100755 --- a/scripts/qboobmsg +++ b/scripts/qboobmsg @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qboobtracker b/scripts/qboobtracker index 177fadd0ec..6542eab001 100755 --- a/scripts/qboobtracker +++ b/scripts/qboobtracker @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qcineoob b/scripts/qcineoob index 02413e9738..3721de9365 100755 --- a/scripts/qcineoob +++ b/scripts/qcineoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qcookboob b/scripts/qcookboob index e5e14b04ac..e5a1168951 100755 --- a/scripts/qcookboob +++ b/scripts/qcookboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qflatboob b/scripts/qflatboob index 63b78f4dfa..793c7edbee 100755 --- a/scripts/qflatboob +++ b/scripts/qflatboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qgalleroob b/scripts/qgalleroob index e5d02f0a4e..395b45ceb4 100755 --- a/scripts/qgalleroob +++ b/scripts/qgalleroob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qhandjoob b/scripts/qhandjoob index 22dd8b59dd..4b3a5a663a 100755 --- a/scripts/qhandjoob +++ b/scripts/qhandjoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qhavedate b/scripts/qhavedate index 36d8e2e4dd..81e0a4731c 100755 --- a/scripts/qhavedate +++ b/scripts/qhavedate @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qvideoob b/scripts/qvideoob index 938ba3a19e..400bb17d44 100755 --- a/scripts/qvideoob +++ b/scripts/qvideoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/qwebcontentedit b/scripts/qwebcontentedit index 4d568c7229..6154a73518 100755 --- a/scripts/qwebcontentedit +++ b/scripts/qwebcontentedit @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/radioob b/scripts/radioob index 6cb4e33eb2..02e454baa1 100755 --- a/scripts/radioob +++ b/scripts/radioob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/shopoob b/scripts/shopoob index 42566c0e97..b7510ff1a4 100755 --- a/scripts/shopoob +++ b/scripts/shopoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/suboob b/scripts/suboob index ca621fa2c1..131c8a5f6e 100755 --- a/scripts/suboob +++ b/scripts/suboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/translaboob b/scripts/translaboob index 1f1554ee6a..10266d9637 100755 --- a/scripts/translaboob +++ b/scripts/translaboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2012 Lucien Loiseau diff --git a/scripts/traveloob b/scripts/traveloob index ea925ddc71..49d6117f54 100755 --- a/scripts/traveloob +++ b/scripts/traveloob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/videoob b/scripts/videoob index 7f16f986df..97e3f8dd9d 100755 --- a/scripts/videoob +++ b/scripts/videoob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/webcontentedit b/scripts/webcontentedit index 696a54d6cd..cb4e860da5 100755 --- a/scripts/webcontentedit +++ b/scripts/webcontentedit @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboob b/scripts/weboob index 3ca7288b94..5484101b97 100755 --- a/scripts/weboob +++ b/scripts/weboob @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboob-cli b/scripts/weboob-cli index df76db4006..aa8c5dca9f 100755 --- a/scripts/weboob-cli +++ b/scripts/weboob-cli @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboob-config b/scripts/weboob-config index d8efa4e6f9..6840965e44 100755 --- a/scripts/weboob-config +++ b/scripts/weboob-config @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboob-config-qt b/scripts/weboob-config-qt index c5a637811b..d9e0604e85 100755 --- a/scripts/weboob-config-qt +++ b/scripts/weboob-config-qt @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboob-debug b/scripts/weboob-debug index 32ec0e9977..a1d554cecc 100755 --- a/scripts/weboob-debug +++ b/scripts/weboob-debug @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboob-repos b/scripts/weboob-repos index ba6d9cca04..02e775c035 100755 --- a/scripts/weboob-repos +++ b/scripts/weboob-repos @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/weboorrents b/scripts/weboorrents index 7562419f8f..790c37351d 100755 --- a/scripts/weboorrents +++ b/scripts/weboorrents @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/scripts/wetboobs b/scripts/wetboobs index 7e80d9a9f4..3a32b0f2ed 100755 --- a/scripts/wetboobs +++ b/scripts/wetboobs @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim: ft=python et softtabstop=4 cinoptions=4 shiftwidth=4 ts=4 ai diff --git a/setup.py b/setup.py index e20e0c1ebc..f78762761d 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2010-2014 Christophe Benz, Laurent Bachelier diff --git a/tools/check_xpath.py b/tools/check_xpath.py index 5423ae0e24..d281b62083 100755 --- a/tools/check_xpath.py +++ b/tools/check_xpath.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright(C) 2017 Vincent A # diff --git a/tools/common.sh b/tools/common.sh index 85371fc8f6..3ee33c2b0a 100644 --- a/tools/common.sh +++ b/tools/common.sh @@ -1,6 +1,6 @@ -VER=2 -if [ "${1-}" = "-3" ]; then - VER=3 +VER=3 +if [ "${1-}" = "-2" ]; then + VER=2 shift fi diff --git a/tools/local_install.py b/tools/local_install.py index 07a143b7a1..80831928c7 100644 --- a/tools/local_install.py +++ b/tools/local_install.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- from __future__ import print_function diff --git a/tools/local_run.py b/tools/local_run.py index 3e19462145..1c39be177a 100644 --- a/tools/local_run.py +++ b/tools/local_run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- from __future__ import print_function diff --git a/tools/make_man.py b/tools/make_man.py index 0dc9824821..589313c83b 100755 --- a/tools/make_man.py +++ b/tools/make_man.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright(C) 2010-2018 Laurent Bachelier diff --git a/tools/modules_testing_grid.py b/tools/modules_testing_grid.py index 270fecbb8e..93f89bf99f 100755 --- a/tools/modules_testing_grid.py +++ b/tools/modules_testing_grid.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Script to format XUNIT output from unittests as a JSON string ready to be sent diff --git a/tools/stale_pyc.py b/tools/stale_pyc.py index b5b42062b7..0692fee3ac 100755 --- a/tools/stale_pyc.py +++ b/tools/stale_pyc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import os -- GitLab