rsmiBindings.py - Add initRsmiBindings()

Library path was printed at all times even with --json flag.
This commit adds a mandatory initRsmiBindings function which is a core
component of the rsmiBindings.py library.

It **MUST** be called on import.

Change-Id: Ic6ae1ec5d1fabba288910e6aed6c4706e53e5cd7
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2023-09-14 11:30:47 -05:00
committed by Dmitrii Galantsev
parent 5c574ac79c
commit 3b95214fff
3 changed files with 44 additions and 31 deletions
+4 -1
View File
@@ -17,4 +17,7 @@ build/
.cache/
# Simulated SYSFS - for early development or debug
device/
device/
# Misc
__pycache__