[PATCH skeleton] hwmon: attribute is not polled after failure

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Jul 2 01:10:52 AEST 2016

From: Brad Bishop <bradleyb at fuzziesquirrel.com>

This line of code was removed with revert bd01c24d (original efc68970)
but should not have been.  The line was originally added with 6956bbd4.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
 pyhwmon/hwmon.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyhwmon/hwmon.py b/pyhwmon/hwmon.py
index e5dc19a..bb363dc 100644
--- a/pyhwmon/hwmon.py
+++ b/pyhwmon/hwmon.py
@@ -65,6 +65,7 @@ class Hwmons():
 			print "HWMON: Attibute no longer exists: "+attribute
+			self.sensors.pop(objpath,None)
 			return False

More information about the openbmc mailing list