python3: fix some more shebangs

12 jobs for python3 in 15 minutes and 14 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Build
passed #22942
build:2.7

00:01:13

passed #22943
build:3

00:01:19

 
  Test
failed #22945
allowed to fail
lint:2.7

00:01:23

failed #22949
allowed to fail
lint:3

00:01:16

passed #22944
pyflakes:2.7

00:01:36

passed #22948
pyflakes:3

00:01:28

passed #22946
unittests:2.7

00:01:21

passed #22950
unittests:3

00:01:22

failed #22947
allowed to fail
unittests-modules:2.7

00:10:56

failed #22951
allowed to fail
unittests-modules:3

00:01:16

 
  Deploy
passed #22952
doc:2.7

00:01:01

passed #22953
doc:3

00:01:10

 
Name Stage Failure
failed
unittests-modules:2.7 Test
-----------------------------------------------------------------------
TOTAL 61986 33732 46%
----------------------------------------------------------------------
Ran 361 tests in 558.407s

FAILED (SKIP=95, errors=112, failures=29)
=== Total coverage ===
MODULES COVERAGE: 46%
ERROR: Job failed: exit code 1
failed
lint:2.7 Test
=== [  0%] Getting file:///builds/ntome/devel/modules
=== [100%] All modules are up-to-date.

Modules without tests: afer, ameli, amundi, banqueaccord, bforbank, bolden, bouygues, bp, caels, chronopost, cmb, cmmc, cmso, colisprive, colissimo, edf, ensap, genericnewspaper, gmf, linebourse, lucca, n26, nalo, netfinca, okc, oney, orange, ovh, pagesjaunes, peertube, redmine, relaiscolis, sogecartenet, tapatalk, ticketscesu, yomoni

Modules without icons: avendrealouer, bnpcards, bnppere, bolden, btpbanque, capeasi, cices, cmes, deathbycaptcha, ekwateur, ensap, erehsbc, esalia, gmf, linebourse, lucca, materielnet, meslieuxparis, nalo, netfinca, onlinenet, pradoepargne, sogecartenet, tapatalk, themisbanque, ticketscesu, trainline

Modules for Python 2 only: allocine, amazonstorecard, amelipro, apivie, asana, audioaddict, bnpcards, canalplus, carrefourbanque, cci, centquatre, cityscoot, colisprive, cpasbien, dailymotion, dhl, dpd, dresdenwetter, ensap, ganassurances, gls, groupama, guerrillamail, happn, hds, humanis, ideel, ilmatieteenlaitos, ina, inrocks, ipapi, itella, journaldesfemmes, kickass, kiwibank, lacentrale, lampiris, lyricsdotcom, lyricsplanet, mailinator, mareeinfo, materielnet, meslieuxparis, minutes20, myedenred, myhabit, netfinca, newsfeed, okc, onlinenet, openedx, ovh, pagesjaunes, parolesmusique, parolesnet, paypal, phpbb, pixabay, playme, poivy, pradoepargne, presseurop, prixcarburants, radiofrance, residentadvisor, rmll, sachsen, sogecartenet, t411, taz, ticketscesu, tinder, torrentz, trainline, transilien, vicsec, vicseccard, vine, virginradio, wellsfargo, yahoo
ERROR: Job failed: exit code 1
failed
lint:3 Test
Successfully installed cachetools-3.1.1 ecdsa-0.13.2 feedparser-5.2.1 geographiclib-1.49 geopy-1.20.0 google-api-python-client-1.7.11 google-auth-1.6.3 google-auth-httplib2-0.0.3 httplib2-0.13.1 pyasn1-0.4.7 pyasn1-modules-0.2.6 pycryptodomex-3.9.0 python-jose-3.0.1 rsa-4.0 simplejson-3.16.0 uritemplate-3.0.0
$ ./tools/weboob_lint.sh
2019-09-09 22:04:50,142:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-09-09 22:04:50,753:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: ilmatieteenlaitos, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/ntome/devel/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1
failed
unittests-modules:3 Test
Successfully installed cachetools-3.1.1 ecdsa-0.13.2 feedparser-5.2.1 geographiclib-1.49 geopy-1.20.0 google-api-python-client-1.7.11 google-auth-1.6.3 google-auth-httplib2-0.0.3 httplib2-0.13.1 pyasn1-0.4.7 pyasn1-modules-0.2.6 pycryptodomex-3.9.0 python-jose-3.0.1 rsa-4.0 simplejson-3.16.0 uritemplate-3.0.0
$ ./tools/run_tests.sh --no-core
2019-09-09 22:06:17,489:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module ilmatieteenlaitos: [ImportError] cannot import name 'imap' from 'itertools' (unknown location)
2019-09-09 22:06:17,954:WARNING:repository:1.6:repositories.py:304:build_index Unable to build module wellsfargo: [ModuleNotFoundError] No module named 'Cookie'
Errors building modules: ilmatieteenlaitos, wellsfargo
Use --debug to get more information.
=== [ 0%] Getting file:///builds/ntome/devel/modules
=== [100%] All modules are up-to-date.
ERROR: Job failed: exit code 1