kontron / python-ipmi

A pure python IPMI library
GNU Lesser General Public License v2.1
187 stars 74 forks source link

Specific SDR sensor records are being parsed 2 times #101

Closed EmilioPeJu closed 2 years ago

EmilioPeJu commented 2 years ago

In file sdr.py, we can see that every specific sensor record contains a call to _from_data(), however, the constructor of the parent class is also doing the same, therefore _from_data() is called 2 times (with a bit of performance hit), the solution is deleting one of the calls.