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:
Laurent Bachelier 2014-09-09 19:00:02 +02:00
commit 3da02fde24
206 changed files with 0 additions and 575 deletions

View file

@ -24,9 +24,6 @@ from mechanize import FormNotFoundError
from weboob.tools.browser import BasePage
__all__ = ['PornPage']
class PornPage(BasePage):
def on_loaded(self):
try:

View file

@ -27,9 +27,6 @@ from .base import PornPage
from ..video import YoupornVideo
__all__ = ['IndexPage']
class IndexPage(PornPage):
def iter_videos(self):
for li in self.document.getroot().xpath('//ul/li[@class="videoBox"]'):

View file

@ -21,9 +21,6 @@
from weboob.capabilities.video import BaseVideo
__all__ = ['YoupornVideo']
class YoupornVideo(BaseVideo):
def __init__(self, *args, **kwargs):
BaseVideo.__init__(self, *args, **kwargs)