Browse Source

Avoid woob incorrect version error, dirty hack

Phyks (Lucas Verney) 7 months ago
parent
commit
699cec5329

+ 2
- 1
modules/explorimmo/module.py View File

@@ -20,6 +20,7 @@
20 20
 
21 21
 from woob.tools.backend import Module
22 22
 from woob.capabilities.housing import CapHousing, Housing, HousingPhoto
23
+from woob import __version__ as WOOB_VERSION
23 24
 
24 25
 from .browser import ExplorimmoBrowser
25 26
 
@@ -33,7 +34,7 @@ class ExplorimmoModule(Module, CapHousing):
33 34
     MAINTAINER = u'Bezleputh'
34 35
     EMAIL = 'carton_ben@yahoo.fr'
35 36
     LICENSE = 'AGPLv3+'
36
-    VERSION = '2.1'
37
+    VERSION = WOOB_VERSION
37 38
 
38 39
     BROWSER = ExplorimmoBrowser
39 40
 

+ 2
- 1
modules/foncia/module.py View File

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

+ 2
- 1
modules/leboncoin/module.py View File

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

+ 2
- 1
modules/logicimmo/module.py View File

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

+ 2
- 1
modules/pap/module.py View File

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

+ 2
- 1
modules/seloger/module.py View File

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