Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -47,6 +47,7 @@ class Transaction(FrenchTransaction):
|
|||
(re.compile('^(?P<category>REMISE DE CHEQUE) (?P<text>.*)'), FrenchTransaction.TYPE_DEPOSIT),
|
||||
]
|
||||
|
||||
|
||||
class AccountHistory(BasePage):
|
||||
def get_next_link(self):
|
||||
for a in self.document.xpath('//a[@class="btn_crt"]'):
|
||||
|
|
@ -105,6 +106,7 @@ class AccountHistory(BasePage):
|
|||
operations.append(op)
|
||||
return operations
|
||||
|
||||
|
||||
class CardsList(BasePage):
|
||||
def get_cards(self):
|
||||
cards = []
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ def md5(f):
|
|||
md5.update(f.read())
|
||||
return md5.hexdigest()
|
||||
|
||||
|
||||
class UnavailablePage(BasePage):
|
||||
def on_loaded(self):
|
||||
raise BrowserUnavailable()
|
||||
|
|
@ -57,14 +58,17 @@ class LoginPage(BasePage):
|
|||
self.browser['username'] = login
|
||||
self.browser.submit()
|
||||
|
||||
|
||||
class repositionnerCheminCourant(BasePage):
|
||||
def on_loaded(self):
|
||||
self.browser.open("https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/authentification/initialiser-identif.ea")
|
||||
|
||||
|
||||
class Initident(BasePage):
|
||||
def on_loaded(self):
|
||||
self.browser.open("https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/securite/authentification/verifierMotDePasse-identif.ea")
|
||||
|
||||
|
||||
class CheckPassword(BasePage):
|
||||
def on_loaded(self):
|
||||
self.browser.open("https://voscomptesenligne.labanquepostale.fr/voscomptes/canalXHTML/comptesCommun/synthese_assurancesEtComptes/init-synthese.ea")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue