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
|
|
@ -28,6 +28,7 @@ from weboob.tools.captcha.virtkeyboard import MappedVirtKeyboard,VirtKeyboardErr
|
|||
|
||||
__all__ = ['LoginPage', 'ConfirmPage', 'ChangePasswordPage']
|
||||
|
||||
|
||||
class BNPVirtKeyboard(MappedVirtKeyboard):
|
||||
symbols={'0':'9cc4789a2cb223e8f2d5e676e90264b5',
|
||||
'1':'e10b58fc085f9683052d5a63c96fc912',
|
||||
|
|
@ -100,10 +101,12 @@ class ConfirmPage(BasePage):
|
|||
if m:
|
||||
return m.group(1)
|
||||
|
||||
|
||||
class InfoMessagePage(BasePage):
|
||||
def on_loaded(self):
|
||||
pass
|
||||
|
||||
|
||||
class ChangePasswordPage(BasePage):
|
||||
def change_password(self, current, new):
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ class Transaction(FrenchTransaction):
|
|||
(re.compile('^(?P<category>REMISE CHEQUES)(?P<text>.*)'), FrenchTransaction.TYPE_DEPOSIT),
|
||||
]
|
||||
|
||||
|
||||
class AccountHistory(BasePage):
|
||||
def iter_operations(self):
|
||||
for tr in self.document.xpath('//table[@id="tableCompte"]//tr'):
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ class Account(object):
|
|||
self.send_checkbox = send_checkbox
|
||||
self.receive_checkbox = receive_checkbox
|
||||
|
||||
|
||||
class TransferPage(BasePage):
|
||||
def on_loaded(self):
|
||||
for td in self.document.xpath('//td[@class="hdvon1"]'):
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ class ProAccountsList(BasePage):
|
|||
COL_ID = 2
|
||||
COL_BALANCE = 3
|
||||
COL_COMING = 5
|
||||
|
||||
def get_list(self):
|
||||
for tr in self.document.xpath('//tr[@class="comptes"]'):
|
||||
cols = tr.findall('td')
|
||||
|
|
@ -57,6 +58,7 @@ class ProAccountsList(BasePage):
|
|||
|
||||
yield account
|
||||
|
||||
|
||||
class ProAccountHistory(BasePage):
|
||||
COL_DATE = 0
|
||||
COL_LABEL = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue