Remove lxml dependency (#2374)

This commit is contained in:
Fabian Affolter 2016-06-26 19:13:52 +02:00 committed by Paulus Schoutsen
parent d13cc227cc
commit 254b1c46ac
2 changed files with 2 additions and 5 deletions

View file

@ -16,7 +16,7 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle from homeassistant.util import Throttle
REQUIREMENTS = ['beautifulsoup4==4.4.1', 'lxml==3.6.0'] REQUIREMENTS = ['beautifulsoup4==4.4.1']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
_RESOURCE = 'http://www.hydrodaten.admin.ch/en/' _RESOURCE = 'http://www.hydrodaten.admin.ch/en/'
@ -148,7 +148,7 @@ class HydrologicalData(object):
try: try:
tables = BeautifulSoup(response.content, tables = BeautifulSoup(response.content,
'lxml').findChildren('table') 'html.parser').findChildren('table')
rows = tables[0].findChildren(['th', 'tr']) rows = tables[0].findChildren(['th', 'tr'])
details = [] details = []

View file

@ -180,9 +180,6 @@ lightify==1.0.3
# homeassistant.components.light.limitlessled # homeassistant.components.light.limitlessled
limitlessled==1.0.0 limitlessled==1.0.0
# homeassistant.components.sensor.swiss_hydrological_data
lxml==3.6.0
# homeassistant.components.notify.message_bird # homeassistant.components.notify.message_bird
messagebird==1.2.0 messagebird==1.2.0