Rename BasePage to Page

This commit is contained in:
Florent 2014-09-23 10:50:25 +02:00
commit 444d36eee8
146 changed files with 525 additions and 525 deletions

View file

@ -22,10 +22,10 @@ import re
from dateutil.parser import parse as parse_date
from weboob.capabilities.parcel import Parcel, Event
from weboob.tools.browser import BasePage
from weboob.tools.browser import Page
class TrackPage(BasePage):
class TrackPage(Page):
def get_info(self, id):
if len(self.parser.tocleanstring(self.document.xpath('//p[@class="error"]')[0])) > 0:
return None