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

@ -23,12 +23,12 @@ import re
from weboob.capabilities.gallery import CapGallery, BaseGallery, BaseImage
from weboob.tools.backend import Module
from weboob.tools.browser import BaseBrowser, BasePage
from weboob.tools.browser import BaseBrowser, Page
__all__ = ['GenericComicReaderModule']
class DisplayPage(BasePage):
class DisplayPage(Page):
def get_page(self, gallery):
src = self.document.xpath(self.browser.params['img_src_xpath'])[0]

View file

@ -17,7 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.browser import BasePage
from weboob.tools.browser import Page
from weboob.tools.browser import BrokenPageError
from lxml.etree import Comment
@ -90,7 +90,7 @@ class Article(object):
self.date = None
class GenericNewsPage(BasePage):
class GenericNewsPage(Page):
__element_body = NotImplementedError
__article = Article
element_title_selector = NotImplementedError