Skip to content

Commit

Permalink
Remove lxml dependency (home-assistant#2374)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and balloob committed Jun 26, 2016
1 parent d13cc22 commit 254b1c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/sensor/swiss_hydrological_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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/'
Expand Down Expand Up @@ -148,7 +148,7 @@ def update(self):

try:
tables = BeautifulSoup(response.content,
'lxml').findChildren('table')
'html.parser').findChildren('table')
rows = tables[0].findChildren(['th', 'tr'])

details = []
Expand Down
3 changes: 0 additions & 3 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 254b1c4

Please sign in to comment.