[PATCH skeleton 1/3] Revert "Fix broken attempt at hwmon caching"

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Jun 25 05:11:07 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

This reverts commit 8224ff87c914861d28ed0dc6a251ba213a9ee607.

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

diff --git a/pyhwmon/hwmon.py b/pyhwmon/hwmon.py
index e7821f4..d9c1353 100644
--- a/pyhwmon/hwmon.py
+++ b/pyhwmon/hwmon.py
@@ -55,7 +55,7 @@ class Hwmons():
 		with open(filename, 'w') as f:
 			f.write(str(value)+'\n')
 
-	def should_update(self, attribute, value):
+	def should_update(attribute, value):
 		if attribute not in self.cache:
 			self.cache[attribute] = value
 			return True
-- 
2.9.0




More information about the openbmc mailing list