commit | 70f7f5630fb4ff3d5c2544dc2dcbb2be0538f161 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@us.ibm.com> | Wed Nov 04 23:07:42 2015 -0500 |
committer | Brad Bishop <bradleyb@us.ibm.com> | Wed Nov 04 23:07:42 2015 -0500 |
tree | db667b9e71fdf7af8a7bcef5e6e19e370f44ee0c | |
parent | 65b7cebde66d3847e585bf370c073e51187f5aa8 [diff] |
Use introspect interface enum
diff --git a/OpenBMCMapper.py b/OpenBMCMapper.py index 2bdb110..1233c70 100644 --- a/OpenBMCMapper.py +++ b/OpenBMCMapper.py
@@ -133,7 +133,7 @@ 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