Avoid woob incorrect version error, dirty hack

This commit is contained in:
Lucas Verney 2021-04-22 20:12:04 +02:00
parent f442d91188
commit 699cec5329
6 changed files with 12 additions and 6 deletions

View File

@ -20,6 +20,7 @@
from woob.tools.backend import Module
from woob.capabilities.housing import CapHousing, Housing, HousingPhoto
from woob import __version__ as WOOB_VERSION
from .browser import ExplorimmoBrowser
@ -33,7 +34,7 @@ class ExplorimmoModule(Module, CapHousing):
MAINTAINER = u'Bezleputh'
EMAIL = 'carton_ben@yahoo.fr'
LICENSE = 'AGPLv3+'
VERSION = '2.1'
VERSION = WOOB_VERSION
BROWSER = ExplorimmoBrowser

View File

@ -22,6 +22,7 @@ from __future__ import unicode_literals
from woob.tools.backend import Module
from woob.capabilities.housing import CapHousing, Housing, ADVERT_TYPES, HousingPhoto
from woob import __version__ as WOOB_VERSION
from .browser import FonciaBrowser
@ -35,7 +36,7 @@ class FonciaModule(Module, CapHousing):
MAINTAINER = u'Phyks (Lucas Verney)'
EMAIL = 'phyks@phyks.me'
LICENSE = 'AGPLv3+'
VERSION = '2.1'
VERSION = WOOB_VERSION
BROWSER = FonciaBrowser

View File

@ -21,6 +21,7 @@
from woob.tools.backend import Module
from woob.capabilities.housing import (CapHousing, Housing, HousingPhoto)
from .browser import LeboncoinBrowser
from woob import __version__ as WOOB_VERSION
__all__ = ['LeboncoinModule']
@ -32,7 +33,7 @@ class LeboncoinModule(Module, CapHousing):
MAINTAINER = u'Bezleputh'
EMAIL = 'carton_ben@yahoo.fr'
LICENSE = 'AGPLv3+'
VERSION = '2.1'
VERSION = WOOB_VERSION
BROWSER = LeboncoinBrowser

View File

@ -22,6 +22,7 @@ from woob.tools.backend import Module
from woob.capabilities.housing import (CapHousing, Housing, HousingPhoto,
ADVERT_TYPES)
from woob.capabilities.base import UserError
from woob import __version__ as WOOB_VERSION
from .browser import LogicimmoBrowser
@ -42,7 +43,7 @@ class LogicimmoModule(Module, CapHousing):
MAINTAINER = u'Bezleputh'
EMAIL = 'carton_ben@yahoo.fr'
LICENSE = 'AGPLv3+'
VERSION = '2.1'
VERSION = WOOB_VERSION
BROWSER = LogicimmoBrowser

View File

@ -21,6 +21,7 @@
from woob.capabilities.housing import (CapHousing, Housing, HousingPhoto,
ADVERT_TYPES)
from woob.tools.backend import Module
from woob import __version__ as WOOB_VERSION
from .browser import PapBrowser
@ -32,7 +33,7 @@ class PapModule(Module, CapHousing):
NAME = 'pap'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
VERSION = '2.1'
VERSION = WOOB_VERSION
DESCRIPTION = 'French housing website'
LICENSE = 'AGPLv3+'
BROWSER = PapBrowser

View File

@ -20,6 +20,7 @@
from woob.capabilities.housing import CapHousing, Housing, HousingPhoto
from woob.tools.backend import Module
from woob import __version__ as WOOB_VERSION
from .browser import SeLogerBrowser
@ -31,7 +32,7 @@ class SeLogerModule(Module, CapHousing):
NAME = 'seloger'
MAINTAINER = u'Romain Bignon'
EMAIL = 'romain@weboob.org'
VERSION = '2.1'
VERSION = WOOB_VERSION
DESCRIPTION = 'French housing website'
LICENSE = 'AGPLv3+'
ICON = 'http://static.poliris.com/z/portail/svx/portals/sv6_gen/favicon.png'