Commit graph

16 commits

Author SHA1 Message Date
Romain Bignon
aa794ab035 do not try to get history of life insurance accounts 2015-02-26 14:50:37 +01:00
Romain Bignon
e4b80bda90 do not try to get IBAN from life insurance accounts 2015-02-24 18:55:11 +01:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Romain Bignon
d61e15cf84 rename things related to browsers
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions

Also, the new tree for browser2 is:

weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Romain Bignon
be7d49312d add check to prevent prints in weboob modules 2014-10-06 17:22:37 +02:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Romain Bignon
2a4469bddc hellobank: get default account name if the custom name is empty 2014-08-14 18:33:35 +02:00
Kitof
2f3fd9a13c pyflakes fixes 2013-12-18 00:13:03 +01:00
Kitof
bd0f14fd56 Fix bug (thanks to JP Dutrève) 2013-12-18 00:13:03 +01:00
Laurent Bachelier
23a71d847b Code style fixes, mostly whitespace 2013-08-04 20:00:19 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Laurent Bachelier
ab87a7bdb6 Remove wrong +x permissions 2013-07-27 10:55:06 +02:00
Romain Bignon
979f1764d4 pyflakes fixes (unused imports) 2013-07-14 19:08:17 +02:00
Kitof
14b6d75533 Add module for HelloBank support (closes #1276)
Signed-off-by: Romain Bignon <romain@symlink.me>
2013-07-14 19:08:10 +02:00