Rename BasePage to Page
This commit is contained in:
parent
44dffce7b2
commit
444d36eee8
146 changed files with 525 additions and 525 deletions
|
|
@ -21,7 +21,7 @@
|
|||
import re
|
||||
from logging import warning
|
||||
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.tools.browser import Page
|
||||
|
||||
|
||||
class Message(object):
|
||||
|
|
@ -43,7 +43,7 @@ class Message(object):
|
|||
warning('Unable to parse timestamp "%s"' % timestamp)
|
||||
|
||||
|
||||
class BoardIndexPage(BasePage):
|
||||
class BoardIndexPage(Page):
|
||||
def is_logged(self):
|
||||
return True
|
||||
|
||||
|
|
|
|||
|
|
@ -18,10 +18,10 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from weboob.tools.browser import BasePage
|
||||
from weboob.tools.browser import Page
|
||||
|
||||
|
||||
class DLFPPage(BasePage):
|
||||
class DLFPPage(Page):
|
||||
def is_logged(self):
|
||||
for form in self.document.getiterator('form'):
|
||||
if form.attrib.get('id', None) == 'new_account_sidebar':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue