From 52ec4ac1d8509f6450b1d9c1bccd72e300510cd9 Mon Sep 17 00:00:00 2001 From: Per Sandstrom Date: Wed, 5 Aug 2015 10:22:03 +0200 Subject: [PATCH] flake8 and pylint --- homeassistant/components/device_tracker/asuswrt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/device_tracker/asuswrt.py b/homeassistant/components/device_tracker/asuswrt.py index e38e410fe54..e7126d7df91 100644 --- a/homeassistant/components/device_tracker/asuswrt.py +++ b/homeassistant/components/device_tracker/asuswrt.py @@ -62,6 +62,7 @@ _IP_NEIGH_REGEX = re.compile( r'(?P(\w+))') +# pylint: disable=unused-argument def get_scanner(hass, config): """ Validates config and returns a DD-WRT scanner. """ if not validate_config(config, @@ -146,7 +147,8 @@ class AsusWrtDeviceScanner(object): _LOGGER.exception("Unexpected response from router") return except ConnectionRefusedError: - _LOGGER.exception("Connection refused by router, is telnet enabled?") + _LOGGER.exception("Connection refused by router," + + " is telnet enabled?") return devices = {}