diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 09950e3c6ba79bbc014d612e13cb43894b926d4c..45d022662d00aa2f544697215d678db95bc03a31 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 f8c26f6d22c14a0755389581eeffe926711e9d72..d31a8832aefcc566896a20eb46e6fccbfa2e6e30 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 eea4854e461648b58d68d2beed52911f39176285..893d4f09afea7f609763f2ad4b672475e4979b26 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 9a339739aa4e56a66290b59bdf059628972a9f65..af798e2b7c5eae1f2c0049c28ab32f645fb7c0f9 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 a46acd7a14c952a63c32848c7753475970e91580..1872e3cfd24b9f4557ddc1479e25f4124bbdbd3b 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 0f241ac3e64325224ffb6153435e0a41e273f43a..9821c83d28b3cb61f76d3de520cf9a731fda59c6 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 68612c88fc483cac147c1b7dbe085ceb64e28c5b..ca2357f6d6679308b5ff878d707d9328be14c5a5 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 9829df5274c845d96d258f5ca6d70992a3951b3b..eb457feb67aa85efc5d2be2775f01084fc0e4c32 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 678b822e398d889fea5c4592eab9dbda087746f7..3eebd6cf061981e1811d7ab2e6d66ed8cfde51fc 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 dabad033db147337c91b662d01580a939e6dd25d..5f90d5788e2662a39ab0bd3ea2dd6fbdc9123aa8 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 9cc3387ea86f6a50c8e74c4586f79e1352f0b2bf..85d052bb098dd8def2e9fb9a476e02f9909b78e7 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 ada8d3207575378a8680c8105324725727f31198..14440fec09b9ee35d295cbdb016244e431276b22 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 30ab280c2dc89ff6b52d3760a816d6a2bb6b0305..9dc83ea8dd3178d256cce21a759ad17a780d8f3a 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 e3a8e4693dd475f8918d87f93f51624a120023c1..852aa6b40e8354f648cdeb486d8dbc5e05c9aae4 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 ba0068ea2d6e2877612b4ffed12a1766056212c0..54a1f92919f134a4db042ad8c9d453ae2e2df28e 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 967a6f9f35058baf20fe7cc065e9b20950d0ddfd..bbf20864b97bf0108ff9ffad4121566649f77a80 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 1ff1a1f0d36ec73ef5c77546d07ce1a282b69eb5..cd89e15bb8c18d5bfafde2a0d29f473b13d913d7 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 a833d45266a310c2b6697d33d823eae9110ef4dc..ded0e665ed28e86dbf04bc3c771f1278ca780ab0 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 93ffb79eb0be5df32625dc14720a8ce0d55942fd..310c6c9a9648fb1ba7a04116bd32efb8caa14ff4 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 ac3ca777d31c2084e62facbb92942e75d87f64fe..b7de85e326ccb72d1499866f4032326123eecd95 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 24e0741e848f5f9c06a3e796206081769ce61fdf..cdd8217bac071c9899ff58ec2326a4453986d804 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 1356e8421cd74f5bdd458eb1db225c2797fc6bdc..d5f30aa2ce8181afe9ece2f33d8c3f4b02bc38a4 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 07f88ab5f2e5ccbb8aa77b9addf4c146e1630516..c1660fe89d45cdff3b24aa74347551a2d1bc83f1 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 cb35044dbb104d13a843a468cc93310309224fe1..23a5f0009e6d46c907263301dbc0f1c7b2187b14 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 177fadd0ec624261d4c9595203374e7c709f548e..6542eab001752931575ba7eee7a19e73607c49d7 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 02413e9738be16d49a1863e65a0f028d304ff0c4..3721de93658fd05c1c2918b3b30b7d44bccc9cf5 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 e5e14b04ac3dec37d2a02c121d82f6ba3cc4021c..e5a11689519b1cbc27c8795052afbf657276e6c9 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 63b78f4dfaee9a2ea4fe87cb0a6004dd2e6d76a4..793c7edbee9451d819d085d3ea923d6e533387fa 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 e5d02f0a4e5ef949aa79d0bd912fdeb39099c4eb..395b45ceb497d74e27f78067fc317ab644503b43 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 22dd8b59dd1f586236d613ab1676594bbea7d401..4b3a5a663af2a41125feec4943c5cd224b4de2a0 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 36d8e2e4dd595405ecb126a89da2ef3a648ff69c..81e0a4731c2239a8abab85453674e67242cf8a55 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 938ba3a19e70e5e2a0d6620db540935e3a53f9e9..400bb17d445cb04995b9408fbd206980fd28cfce 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 4d568c7229e9c56e3b11dbf465642ce71df29fc4..6154a7351862cda8daf66b15e4899541cd2967ab 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 6cb4e33eb297b4260c08ac5783bc2ed854ad80d9..02e454baa177e449089ec37f09cb8339d879800a 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 42566c0e97c9b372ebef30eed7d964d36e3d53b4..b7510ff1a45421b7e6c9f2382265df91e4953b74 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 ca621fa2c11255f6e82e00752339a578ea47ede4..131c8a5f6e00e17150050103f28387119465b993 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 1f1554ee6ac13d261c0c97af5d0ba9d46bcf0a65..10266d96375cb6c10e9818667a44453b09e81136 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 ea925ddc71721a6d28232804e9394229582ce1e9..49d6117f547dc12fb78f4964a5329862778bc02a 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 7f16f986dff11c8bedae75e66af4b0927f1399b6..97e3f8dd9d45c4afcc80766b73f5ec45db28c497 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 696a54d6cd1bd9827de7a99e6ac3514095303ac8..cb4e860da5fb2bd13be95fdf937714e13fa4edd3 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 3ca7288b94920975d7831d8e453fc807d15c52b0..5484101b97b2ebfa228b63c2679e66f0377bfbf2 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 df76db400661af976a5ae84cff5d0109357bd953..aa8c5dca9f8bdaeeac43313ee89dbef009eda37c 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 d8efa4e6f9c21f1fed9bbd7977c384d4696f1606..6840965e4421c5461fc0c905565122cfc7aa3eab 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 c5a637811b6fb278752baa731a4595c1984a2c83..d9e0604e85b6e7d0bc99395aa946501d9ca89cc2 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 32ec0e9977347f9a4c8021809792d8f96187dbb7..a1d554cecc400e78f21f102db230c7c6e817a1d4 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 ba6d9cca04b977e37b93c0a45b41915e0a1e093e..02e775c035f37e560b840306492a31e28335b879 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 7562419f8ff3fd6f248240eb6ac8f2c0ecaffcad..790c37351d5ba188a9909a177bca5c7069835441 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 7e80d9a9f4c39aea0cdf9a192ad254bfb8f9e8af..3a32b0f2edfd02d2419ab5f98cd7748b681b51ba 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 e20e0c1ebc400e1209f237cc35ad504605b273af..f78762761dc57fa769638de1011f823399b0b120 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 5423ae0e24957200e20a10d78b71f2a1890e0e11..d281b6208304ac62faedb824232a4039d42683a8 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 85371fc8f61b3c88f960bb1d453eada2bba91cdc..3ee33c2b0aaac66defe64190156714cd725fe076 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 07a143b7a1cf8aef27b37e3119d4be8523133905..80831928c7db5ff5766b849f2151688ef8f3245b 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 d7dbbc05619e0734397522ef0a42267e6c776278..80318e18b1a229a7dc1f5da67944e4800c33ef4d 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 0dc98248217c0c91d7477dd7c38ee8601d6c19d2..589313c83b081920dd6637bc386a367950d1471c 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 270fecbb8e1ccf07d28e10d88ab31ae0bda639ab..93f89bf99fb1b98183ef48c327b9933533ca0e1c 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 b5b42062b7afd2a57f67babeb2cb94c5fef80860..0692fee3aca7a4e007318a75bb9307b2e31b73cd 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