Remove lxml dependency ()

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
homeassistant/components/sensor
requirements_all.txt

View file

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

View file

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