[PATCH phosphor-objmgr v2 10/10] Use introspect interface enum
OpenBMC Patches
patches at stwcx.xyz
Fri Nov 6 00:21:50 AEDT 2015
From: Brad Bishop <bradleyb at us.ibm.com>
---
OpenBMCMapper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/OpenBMCMapper.py b/OpenBMCMapper.py
index 2bdb110..1233c70 100644
--- a/OpenBMCMapper.py
+++ b/OpenBMCMapper.py
@@ -133,7 +133,7 @@ class IntrospectionParser:
def _introspect(self, path):
try:
obj = self.bus.get_object(self.name, path, introspect = False)
- iface = dbus.Interface(obj, dbus.BUS_DAEMON_IFACE + '.Introspectable')
+ iface = dbus.Interface(obj, dbus.INTROSPECTABLE_IFACE)
data = iface.Introspect()
except dbus.DBusException:
return None
--
2.6.0
More information about the openbmc
mailing list