diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-09-21 09:09:48 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-23 20:18:45 +0000 |
commit | 7e5ec46d3f67e2447145e6399995ac554a61f152 (patch) | |
tree | 92dfc9525c95bad1ffc9d7fec523772c69239d45 /pysystemmgr | |
parent | ef3a3ce826e37c6510d4e645d10d77180c318477 (diff) | |
download | talos-skeleton-7e5ec46d3f67e2447145e6399995ac554a61f152.tar.gz talos-skeleton-7e5ec46d3f67e2447145e6399995ac554a61f152.zip |
inventory: Move INVENTORY_ROOT to inventory module
Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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]) |