From aac1974061446a5e14133713e2d092fb211fd76b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 23 Nov 2008 15:09:08 +0100 Subject: [PATCH] Use correct object name for device element --- test/list-devices | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/list-devices b/test/list-devices index 66af8bd3..691a6fbe 100755 --- a/test/list-devices +++ b/test/list-devices @@ -10,10 +10,10 @@ manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), properties = manager.GetProperties() for path in properties["Devices"]: - element = dbus.Interface(bus.get_object("org.moblin.connman", path), + device = dbus.Interface(bus.get_object("org.moblin.connman", path), "org.moblin.connman.Device") - properties = element.GetProperties() + properties = device.GetProperties() print "[ %s ]" % (path) -- 2.34.1