[amazon] Corrected to_login function to use the right variables

10 jobs for master in 62 minutes and 32 seconds (queued for 59 minutes and 39 seconds)
Status Job ID Name Coverage
  Build
passed #3884
build:2.7

00:00:23

passed #3885
build:3

00:00:24

 
  Test
failed #3887
allowed to fail
lint:2.7

00:00:24

failed #3890
allowed to fail
lint:3

00:00:23

passed #3886
pyflakes:2.7

00:00:31

failed #3889
pyflakes:3

00:00:30

failed #3888
unittests:2.7

01:00:03

38.0%
failed #3891
unittests:3

01:00:04

39.0%
 
  Deploy
skipped #3892
doc:2.7
skipped #3893
doc:3
 
Name Stage Failure
failed
lint:2.7 Test There is an unknown failure, please try again
Unable to build module zerobin: [ImportError] No module named Cryptodome.Cipher
=== [ 0%] Getting file:///builds/weboob/devel/modules
Rebuild index
Rebuild index
=== [100%] All modules are up-to-date.
Modules without tests: ['afer', 'amundi', 'banqueaccord', 'bforbank', 'bouygues', 'bp', 'caels', 'chronopost', 'cmb', 'cmmc', 'cmso', 'colisprive', 'colissimo', 'creditdunordpee', 'edf', 'izneo', 'linebourse', 'n26', 'okc', 'oney', 'opacwebaloes', 'orange', 'ovh', 'redmine', 'tapatalk', 'ups', 'yomoni']
Modules without icons: ['bnppere', 'btpbanque', 'capeasi', 'cices', 'cmes', 'ensap', 'erehsbc', 'esalia', 'lampiris', 'linebourse', 'materielnet', 'onlinenet', 'pradoepargne', 'spirica', 'tapatalk', 'trainline']
Modules using deprecated Browser 1: ['apivie', 'arretsurimages', 'attilasub', 'aum', 'btmon', 'canaltp', 'cappedtv', 'chronopost', 'ebonics', 'ehentai', 'europarl', 'fourchan', 'gazelle', 'gdcvault', 'gdfsuez', 'geolocip', 'imdb', 'izneo', 'jacquieetmichel', 'jvmalin', 'leclercmobile', 'nettokom', 'nihonnooto', 'nolifetv', 'nova', 'opacwebaloes', 'opensubtitles', 'orange', 'podnapisi', 'redmine', 'sfr', 'trictractv', 'tvsubtitles', 'unsee', 'ups', 'voyagessncf']
ERROR: Build failed: exit code 1
failed
unittests:2.7 Test There is an unknown failure, please try again
test_search_movie (imdb.test.ImdbTest) [None] ... ERROR
test_search_person (imdb.test.ImdbTest) [None] ... ERROR
test_post (imgur.test.ImgurTest) [None] ... /builds/weboob/devel/modules/imgur/test.py:34: ConversionWarning: Value contents was converted from <type 'str'> to <type 'unicode'>
post.contents = self.DATA
/builds/weboob/devel/modules/imgur/module.py:109: ConversionWarning: Value contents was converted from <type 'str'> to <type 'unicode'>
paste.contents = bin.encode('base64')
ok
test_search (imgur.test.ImgurTest) [None] ... ok
test_audio_ina (ina.test.INATest) [None] ...
ERROR: Build failed: execution took longer than 3600 seconds
failed
pyflakes:3 Test There is an unknown failure, please try again
  Stored in directory: /root/.cache/pip/wheels/bf/0a/27/5d5e337ed16a175fd483a8c1486b4343ea2632be7ac57bad5d
Successfully built simplejson
Installing collected packages: simplejson
Successfully installed simplejson-3.11.1
$ ./tools/pyflakes.sh -3
modules/750g/module.py:47:56: F821 undefined name 'unicode'
modules/biplan/pages.py:71:56: E999 SyntaxError: invalid syntax
modules/entreparticuliers/pages.py:94:44: F821 undefined name 'unicode'
ERROR: Build failed: exit code 1
failed
lint:3 Test There is an unknown failure, please try again
Unable to build module youtube: [ImportError] Please install python-googleapi
Unable to build module zerobin: [ModuleNotFoundError] No module named 'Cryptodome'
=== [ 0%] Getting file:///builds/weboob/devel/modules
Rebuild index
Rebuild index
=== [100%] All modules are up-to-date.
Modules without tests: ['afer', 'amundi', 'bforbank', 'bouygues', 'bp', 'caels', 'cmb', 'cmmc', 'colisprive', 'colissimo', 'creditdunordpee', 'edf', 'linebourse', 'n26', 'okc', 'ovh', 'yomoni']
Modules without icons: ['bnppere', 'btpbanque', 'capeasi', 'cices', 'cmes', 'ensap', 'erehsbc', 'esalia', 'lampiris', 'linebourse', 'materielnet', 'onlinenet', 'pradoepargne', 'spirica', 'trainline']
ERROR: Build failed: exit code 1
failed
unittests:3 Test There is an unknown failure, please try again
test_translate (googletranslate.test.GoogleTranslateTest) [None] ... ERROR
test_groupamaes (groupamaes.test.GroupamaesTest) [None] ... SKIP: missing config 'Identifiant' is required for this test
test_guerrillamail (guerrillamail.test.GuerrillamailTest) [None] ... ok
test_hsbc (hsbc.test.HSBCTest) [None] ... SKIP: missing config 'Identifiant' is required for this test
test_hybride_list (hybride.test.HybrideTest) [None] ... ERROR
test_history (ideel.test.IdeelTest) [None] ... SKIP: missing config 'User name' is required for this test
test_post (imgur.test.ImgurTest) [None] ... ERROR
test_search (imgur.test.ImgurTest) [None] ... ok
test_audio_ina (ina.test.INATest) [None] ...
ERROR: Build failed: execution took longer than 3600 seconds