pytools: obmcutil: Rename bus_name to bus
Change-Id: Ida2cbe57d83785e2c8c196b55351d89805590169
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 775dd91..f3fd671 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -102,10 +102,10 @@
if (objinfo.has_key('property')):
property_name = objinfo['property']
- bus_name = objinfo['bus_name']
+ bus = objinfo['bus_name']
obj = objinfo['object_name']
iface = objinfo['interface_name']
- dbus_obj = dbus_bus.get_object(bus_name, obj)
+ dbus_obj = dbus_bus.get_object(bus, obj)
if (property_name != ""):
dbus_iface = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")