Cleanup convert_SI_unit and misc linter warnings

Change-Id: I000ba548b79a7023aabad653125842064fa2e7cb
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 3784f37a3a]
此提交包含在:
Galantsev, Dmitrii authored and Maisam Arif committed 2024-08-02 10:29:06 -04:00
1 父節點 5b44997728
當前提交 c44abfcd08
3 file changed
+21 -33

No files matched your search

+1
查看文件
@@ -107,6 +107,7 @@ class AmdSmiTimeoutException(AmdSmiLibraryException):
class AmdSmiParameterException(AmdSmiException):
def __init__(self, receivedValue, expectedType, msg=None):
super().__init__(msg)
self.err_code = None
self.actualType = type(receivedValue)
self.expectedType = expectedType
self.set_err_msg()