Upgrade beautifulsoup4 to 4.6.3 (#15946)

This commit is contained in:
Fabian Affolter 2018-08-13 10:52:47 +02:00 committed by Daniel Høyer Iversen
parent 272be7cdae
commit 2342709803
5 changed files with 10 additions and 9 deletions

View File

@ -19,7 +19,7 @@ from homeassistant.const import (
INTERFACES = 2
DEFAULT_TIMEOUT = 10
REQUIREMENTS = ['beautifulsoup4==4.6.1']
REQUIREMENTS = ['beautifulsoup4==4.6.3']
_LOGGER = logging.getLogger(__name__)

View File

@ -15,14 +15,16 @@ from homeassistant.util import Throttle
from homeassistant.helpers.entity import Entity
from homeassistant.const import (CONF_DOMAIN, CONF_NAME)
REQUIREMENTS = ['beautifulsoup4==4.6.1']
REQUIREMENTS = ['beautifulsoup4==4.6.3']
_LOGGER = logging.getLogger(__name__)
CONF_PRODUCT_ID = 'product_id'
CONF_DESCRIPTION = 'description'
CONF_PRODUCT_ID = 'product_id'
CONF_REGEX = 'regex'
ICON = 'mdi:coin'
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=120)
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
@ -54,8 +56,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
class Geizwatch(Entity):
"""Implementation of Geizwatch."""
def __init__(self, name, description, product_id, domain,
regex):
def __init__(self, name, description, product_id, domain, regex):
"""Initialize the sensor."""
self._name = name
self.description = description

View File

@ -19,12 +19,12 @@ from homeassistant.const import (
from homeassistant.helpers.entity import Entity
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['beautifulsoup4==4.6.1']
REQUIREMENTS = ['beautifulsoup4==4.6.3']
_LOGGER = logging.getLogger(__name__)
CONF_SELECT = 'select'
CONF_ATTR = 'attribute'
CONF_SELECT = 'select'
DEFAULT_NAME = 'Web scrape'
DEFAULT_VERIFY_SSL = True

View File

@ -18,7 +18,7 @@ from homeassistant.const import (
from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle
REQUIREMENTS = ['beautifulsoup4==4.6.1']
REQUIREMENTS = ['beautifulsoup4==4.6.3']
_LOGGER = logging.getLogger(__name__)

View File

@ -163,7 +163,7 @@ batinfo==0.4.2
# homeassistant.components.sensor.geizhals
# homeassistant.components.sensor.scrape
# homeassistant.components.sensor.sytadin
beautifulsoup4==4.6.1
beautifulsoup4==4.6.3
# homeassistant.components.zha
bellows==0.6.0