Commit graph

12 commits

Author SHA1 Message Date
Romain Bignon
387124522f make all attributes of optim start with an underscore 2015-01-23 16:34:27 +01: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
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
db2494d3ad can use okc with monboob 2014-05-17 19:07:37 +02:00
Romain Bignon
3e3d121bff first sent message is configurable 2014-05-17 18:19:13 +02:00
Romain Bignon
cbe5b3a47d remove useless optimizations and fix code 2014-05-17 18:02:24 +02:00
Ahmed Bousadia
64bfc47695 Adding a message to send to ok profile walker 2014-05-17 17:15:56 +02:00
Ahmed Boussadia
16477b4649 Adding rating support for OKC browser and PROFILE_WALKER optimizer 2014-05-17 17:15:55 +02:00
Ahmed Boussadia
720fd5ba1a Improving okc profile alker optimizer 2014-05-17 17:15:53 +02:00
Ahmed Boussadia
296d6b7c9f Starting work on okc module : adding optimization 2014-05-17 17:15:46 +02:00