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
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue