Commit graph

13 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
Romain Bignon
6c0e9e34a2 add attribute 'ext' 2013-07-27 13:32:11 +02:00
Julien Veyssier
5d923bc73b autopep8 with 120 chars line length on my modules 2013-03-18 11:16:05 +01:00
Laurent Bachelier
f37e3c5742 Fix indents not multiples of four 2013-03-16 00:57:31 +01:00
Julien Veyssier
320a477b87 [tvsubtitles] encoding fixes 2013-03-13 01:16:42 +01:00
Julien Veyssier
8a3c3307e3 copyright headers of many modules/cap corrected 2013-02-28 14:13:51 +01:00
Julien Veyssier
e497d2ebaf pyflakes corrections 2013-02-28 14:05:39 +01:00
Julien Veyssier
d54adca470 [subtitle] FPS field removed 2013-02-28 00:26:33 +01:00
Julien Veyssier
f23a9ab4af [tvsub] correction when empty result 2013-02-28 00:26:32 +01:00
Julien Veyssier
a6298871f2 new subtitle backend : tvsubtitles 2013-02-28 00:26:32 +01:00