Rename BasePage to Page
This commit is contained in:
parent
44dffce7b2
commit
444d36eee8
146 changed files with 525 additions and 525 deletions
|
|
@ -57,7 +57,7 @@ ControlNotFoundError = ClientForm.ControlNotFoundError
|
|||
from weboob.tools.parsers import get_parser
|
||||
|
||||
__all__ = ['BrowserIncorrectPassword', 'BrowserForbidden', 'BrowserBanned', 'BrowserUnavailable', 'BrowserRetry',
|
||||
'BrowserPasswordExpired', 'BrowserHTTPNotFound', 'BrowserHTTPError', 'BrokenPageError', 'BasePage',
|
||||
'BrowserPasswordExpired', 'BrowserHTTPNotFound', 'BrowserHTTPError', 'BrokenPageError', 'Page',
|
||||
'StandardBrowser', 'BaseBrowser']
|
||||
|
||||
|
||||
|
|
@ -89,7 +89,7 @@ class BrokenPageError(Exception):
|
|||
pass
|
||||
|
||||
|
||||
class BasePage(object):
|
||||
class Page(object):
|
||||
"""
|
||||
Base page
|
||||
"""
|
||||
|
|
@ -526,7 +526,7 @@ class BaseBrowser(StandardBrowser):
|
|||
Check the current page.
|
||||
|
||||
:param pageCls: class of the page to check
|
||||
:type pageCls: :class:`BasePage`
|
||||
:type pageCls: :class:`Page`
|
||||
:rtype: bool
|
||||
"""
|
||||
return isinstance(self.page, pageCls)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue