From 5122a5ba3db11ad41a6118023c3a68c761eed06a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 7 Oct 2017 09:31:09 +0200 Subject: [PATCH] Upgrade pysnmp to 4.3.10 --- homeassistant/components/device_tracker/snmp.py | 4 ++-- homeassistant/components/sensor/snmp.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/device_tracker/snmp.py b/homeassistant/components/device_tracker/snmp.py index 25176cd82d08a..d0cfcff20efc6 100644 --- a/homeassistant/components/device_tracker/snmp.py +++ b/homeassistant/components/device_tracker/snmp.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pysnmp==4.3.9'] +REQUIREMENTS = ['pysnmp==4.3.10'] CONF_COMMUNITY = 'community' CONF_AUTHKEY = 'authkey' @@ -36,7 +36,7 @@ # pylint: disable=unused-argument def get_scanner(hass, config): - """Validate the configuration and return an snmp scanner.""" + """Validate the configuration and return an SNMP scanner.""" scanner = SnmpScanner(config[DOMAIN]) return scanner if scanner.success_init else None diff --git a/homeassistant/components/sensor/snmp.py b/homeassistant/components/sensor/snmp.py index aeb4587f3df7b..370b560a8929b 100644 --- a/homeassistant/components/sensor/snmp.py +++ b/homeassistant/components/sensor/snmp.py @@ -16,7 +16,7 @@ CONF_HOST, CONF_NAME, CONF_PORT, CONF_UNIT_OF_MEASUREMENT, STATE_UNKNOWN, CONF_VALUE_TEMPLATE) -REQUIREMENTS = ['pysnmp==4.3.9'] +REQUIREMENTS = ['pysnmp==4.3.10'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 5d81a45ee8b4c..9194263618baf 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -729,7 +729,7 @@ pysma==0.1.3 # homeassistant.components.device_tracker.snmp # homeassistant.components.sensor.snmp -pysnmp==4.3.9 +pysnmp==4.3.10 # homeassistant.components.sensor.thinkingcleaner # homeassistant.components.switch.thinkingcleaner