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

@ -33,9 +33,6 @@ from weboob.tools.browser import BrokenPageError
from .base import BasePage
__all__ = ['AccountsList', 'CardsList', 'AccountHistory']
class AccountsList(BasePage):
LINKID_REGEXP = re.compile(".*ch4=(\w+).*")
@ -53,7 +50,6 @@ class AccountsList(BasePage):
u'Prêt': Account.TYPE_LOAN,
}
def get_list(self):
for tr in self.document.getiterator('tr'):
if not 'LGNTableRow' in tr.attrib.get('class', '').split():

View file

@ -21,9 +21,6 @@
from weboob.tools.browser import BasePage as _BasePage
__all__ = ['BasePage']
class BasePage(_BasePage):
def get_error(self):
try:

View file

@ -30,9 +30,6 @@ from .base import BasePage
from ..captcha import Captcha, TileError
__all__ = ['LoginPage', 'BadLoginPage']
class LoginPage(BasePage):
STRANGE_KEY = ["180","149","244","125","115","058","017","071","075","119","167","040","066","083","254","151","212","245","193","224","006","068","139","054","089","083","111","208","105","235","109","030","130","226","155","245","157","044","061","233","036","101","145","103","185","017","126","142","007","192","239","140","133","250","194","222","079","178","048","184","158","158","086","160","001","114","022","158","030","210","008","067","056","026","042","113","043","169","128","051","107","112","063","240","108","003","079","059","053","127","116","084","157","203","244","031","062","012","062","093"]
strange_map = None

View file

@ -34,9 +34,6 @@ from weboob.tools.capabilities.bank.transactions import FrenchTransaction
from ..captcha import Captcha, TileError
__all__ = ['LoginPage', 'AccountsPage', 'CardsPage', 'HistoryPage', 'CardHistoryPage']
class Transaction(FrenchTransaction):
PATTERNS = [(re.compile(r'^CARTE \w+ RETRAIT DAB.* (?P<dd>\d{2})/(?P<mm>\d{2})( (?P<HH>\d+)H(?P<MM>\d+))? (?P<text>.*)'),
FrenchTransaction.TYPE_WITHDRAWAL),