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

@ -27,9 +27,6 @@ from weboob.capabilities.image import BaseImage
from ..video import InaVideo
__all__ = ['SearchPage']
class SearchPage(BasePage):
URL_REGEXP = re.compile(r'/(.+)/(.+)\.jpeg')

View file

@ -27,8 +27,6 @@ from weboob.tools.browser import BasePage
from ..video import InaVideo
__all__ = ['VideoPage']
class VideoPage(BasePage):
URL_REGEXP = re.compile('http://player.ina.fr/notices/(.+)\.mrss')
@ -69,7 +67,6 @@ class VideoPage(BasePage):
method='xpath').text
video.date = datetime.strptime(_date[:-6], '%a, %d %b %Y %H:%M:%S')
video.description = u'%s' % self.parser.select(self.document.getroot(),
'//rss/channel/item/description',
1,