From cdb1677b5941dd48afed2dd5b0226b2335c0a28f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 Jun 2015 23:58:14 +0200 Subject: [PATCH] fix pylint issue --- homeassistant/components/sensor/systemmonitor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/sensor/systemmonitor.py b/homeassistant/components/sensor/systemmonitor.py index 1125b72f660..2615ab1a77b 100644 --- a/homeassistant/components/sensor/systemmonitor.py +++ b/homeassistant/components/sensor/systemmonitor.py @@ -131,6 +131,7 @@ class SystemMonitorSensor(Entity): def unit_of_measurement(self): return self._unit_of_measurement + # pylint: disable=too-many-branches def update(self): if self.type == 'disk_use_percent': self._state = psutil.disk_usage(self.argument).percent