Rename BasePage to Page
This commit is contained in:
parent
44dffce7b2
commit
444d36eee8
146 changed files with 525 additions and 525 deletions
|
|
@ -22,7 +22,7 @@ import datetime
|
|||
import re
|
||||
|
||||
from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.tools.browser import Page
|
||||
|
||||
|
||||
class Transaction(FrenchTransaction):
|
||||
|
|
@ -46,7 +46,7 @@ class Transaction(FrenchTransaction):
|
|||
]
|
||||
|
||||
|
||||
class AccountHistory(BasePage):
|
||||
class AccountHistory(Page):
|
||||
def get_next_link(self):
|
||||
for a in self.document.xpath('//a[@class="btn_crt"]'):
|
||||
txt = u''.join([txt.strip() for txt in a.itertext()])
|
||||
|
|
@ -105,7 +105,7 @@ class AccountHistory(BasePage):
|
|||
return operations
|
||||
|
||||
|
||||
class CardsList(BasePage):
|
||||
class CardsList(Page):
|
||||
def get_cards(self):
|
||||
cards = []
|
||||
for tr in self.document.xpath('//table[@class="dataNum"]/tbody/tr'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue