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

@ -2,8 +2,6 @@
from weboob.tools.browser import BasePage
__all__ = ['IndexPage']
class IndexPage(BasePage):
pass

View file

@ -9,9 +9,6 @@ from weboob.capabilities.torrent import Torrent, MagnetOnly
from weboob.capabilities.base import NotAvailable
__all__ = ['TorrentsPage', 'TorrentPage']
class TorrentsPage(BasePage):
def iter_torrents(self):
@ -74,7 +71,6 @@ class TorrentPage(BasePage):
delta = timedelta(**{valueunit: float(valueago)})
date = datetime.now() - delta
files = []
for tr in trs[15:]:
files.append(unicode(tr.cssselect('td')[1].text))