• Quentin Defenouillere's avatar
    [cragr] Retry request when main account balance is unavailable · 0d5e1a62
    Quentin Defenouillere authored
    This commit fixes several bugs in iter_accounts, linked to untyped
    accounts and unavailable main account balances.
    I factorized the try/except when trying to go the an accounts space.
    I also added a try.except on the "cards" requests because it often
    returns a 400 error that crashes the whole connection.
    The count_spaces xpath was corrected to fit specific professional spaces
    too.
    
    Closes: 35460@sibi
    0d5e1a62
Name
Last commit
Last update
.ci Loading commit data...
contrib Loading commit data...
desktop Loading commit data...
docs Loading commit data...
icons Loading commit data...
man Loading commit data...
modules Loading commit data...
scripts Loading commit data...
tools Loading commit data...
weboob Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
MANIFEST.in Loading commit data...
MANIFEST.in.modules Loading commit data...
README.md Loading commit data...
build.mk Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...