[PATCH skeleton] Fix the sensor scandirectory recovery bug when poll or readattribute fail

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Jun 8 17:01:22 AEST 2016


Add except avoid readAttribute error interrupt.
Add self.sensors.pop so the next addobject can recreate the object.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/skeleton/99)
<!-- Reviewable:end -->


https://github.com/openbmc/skeleton/pull/99

Ken (1):
  Fix the sensor scandirectory recovery bug when poll or readattribute
    fail

 bin/hwmon.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.8.3




More information about the openbmc mailing list