Commit graph

11 commits

Author SHA1 Message Date
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
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
Julien Veyssier
07fa78f8c3 [allrecipes] fix fix 2013-04-06 10:36:28 +02:00
Laurent Bachelier
13026702bd Whitespace 2013-04-03 19:04:55 +02:00
Julien Veyssier
5cf599660b [allrecipes] ignore strange quantity description, small fix 2013-03-30 16:11:57 +01:00
Julien Veyssier
358881dd48 interval number of persons for all cookboob backends 2013-03-30 15:35:38 +01:00
Julien Veyssier
f14aeb1363 [allrecipes] times improvment, fix search string with spaces 2013-03-30 15:35:37 +01:00
Julien Veyssier
a48bed0cf0 [cuisineaz] temporary fix of person number range 2013-03-30 15:35:37 +01:00
Julien Veyssier
3c993099b0 new backend allrecipes 2013-03-30 15:35:37 +01:00