The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 222a29f0 authored by Vincent A's avatar Vincent A

[lesterrains] fix pyflakes

parent 90114c48
......@@ -20,8 +20,7 @@
from __future__ import unicode_literals
from woob.browser import PagesBrowser, URL
from woob.browser.filters.standard import CleanText, Lower, Regexp
from woob.capabilities.housing import TypeNotSupported, POSTS_TYPES, HOUSE_TYPES
from woob.capabilities.housing import POSTS_TYPES, HOUSE_TYPES
from woob.tools.compat import urlencode
from .pages import CitiesPage, SearchPage, HousingPage
......
......@@ -34,8 +34,8 @@
__all__ = ['LesterrainsModule']
class LesterrainsModule(Module, CapHousing):
class LesterrainsModule(Module, CapHousing):
NAME = 'lesterrains'
DESCRIPTION = 'Les-Terrains.com'
MAINTAINER = 'Guntra'
......@@ -58,6 +58,6 @@ def search_housings(self, query):
query.cost_min,
query.cost_max
)
def get_housing(self, housing):
return self.browser.get_housing(housing)
......@@ -21,7 +21,7 @@
from woob.browser.filters.standard import (
CleanDecimal, CleanText,
Date, Format, Lower, Regexp, QueryValue
Date, Lower, Regexp, QueryValue,
)
from woob.browser.filters.json import Dict
from woob.browser.filters.html import Attr, AbsoluteLink
......
......@@ -18,7 +18,7 @@
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from woob.capabilities.housing import Query, ADVERT_TYPES, POSTS_TYPES
from woob.capabilities.housing import Query, POSTS_TYPES
from woob.tools.capabilities.housing.housing_test import HousingTest
from woob.tools.test import BackendTest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment