pytools: obmcutil: Rename obj to dbus_obj
Change-Id: I9a8b47d862690c5bba4b5e12b9835ad8dd86954d
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 3c083d3..c83329a 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -105,10 +105,10 @@
bus_name = objinfo['bus_name']
obj_path = objinfo['object_name']
intf_name = objinfo['interface_name']
- obj = bus.get_object(bus_name, obj_path)
+ dbus_obj = bus.get_object(bus_name, obj_path)
if (property_name != ""):
- intf = dbus.Interface(obj, "org.freedesktop.DBus.Properties")
+ intf = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
if (objinfo.has_key('value')):
property_value = objinfo['value']
else:
@@ -122,7 +122,7 @@
prop = intf.Get(intf_name,property_name)
print '{:<20}'.format(property_name+": ") + str(prop)
else:
- intf = dbus.Interface(obj, "org.freedesktop.DBus.Properties")
+ intf = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
props = intf.GetAll(intf_name)
for p in props:
print p + " = " + str(props[p])