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.
This commit is contained in:
parent
174b5674c1
commit
3da02fde24
206 changed files with 0 additions and 575 deletions
|
|
@ -36,10 +36,6 @@ from weboob.tools.browser import BasePage, BrokenPageError, BrowserIncorrectPass
|
|||
from weboob.tools.json import json
|
||||
|
||||
|
||||
__all__ = ['LoginPage', 'LoginRedirectPage', 'ForbiddenVideo', 'ForbiddenVideoPage',
|
||||
'VerifyAgePage', 'VerifyControversyPage', 'VideoPage']
|
||||
|
||||
|
||||
class LoginPage(BasePage):
|
||||
def on_loaded(self):
|
||||
errors = []
|
||||
|
|
|
|||
|
|
@ -21,9 +21,6 @@
|
|||
from weboob.capabilities.video import BaseVideo
|
||||
|
||||
|
||||
__all__ = ['YoutubeVideo']
|
||||
|
||||
|
||||
class YoutubeVideo(BaseVideo):
|
||||
@classmethod
|
||||
def id2url(cls, _id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue