diff options
Diffstat (limited to 'pysystemmgr')
-rw-r--r-- | pysystemmgr/system_manager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pysystemmgr/system_manager.py b/pysystemmgr/system_manager.py index 9a888cd..93dfcba 100644 --- a/pysystemmgr/system_manager.py +++ b/pysystemmgr/system_manager.py @@ -10,6 +10,7 @@ from obmc.dbuslib.bindings import DbusProperties, DbusObjectManager, get_dbus import obmc.enums import obmc_system_config as System import obmc.mapper.utils +import obmc.inventory DBUS_NAME = 'org.openbmc.managers.System' OBJ_NAME = '/org/openbmc/managers/System' @@ -37,7 +38,7 @@ class SystemManager(DbusProperties, DbusObjectManager): for key in System.ID_LOOKUP[category]: val = System.ID_LOOKUP[category][key] new_val = val.replace( - "<inventory_root>", System.INVENTORY_ROOT) + "<inventory_root>", obmc.inventory.INVENTORY_ROOT) System.ID_LOOKUP[category][key] = new_val self.SystemStateHandler(System.SYSTEM_STATES[0]) |