From 0ed841b6a90c2b9ddcd2c42abc7213a64c229fa7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 23 Nov 2008 21:23:48 +0100 Subject: [PATCH] Update object variable to match its type --- test/list-profiles | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/list-profiles b/test/list-profiles index 025f3cf..4774114 100755 --- a/test/list-profiles +++ b/test/list-profiles @@ -12,10 +12,10 @@ properties = manager.GetProperties() for path in properties["Profiles"]: print "[ %s ]" % (path) - element = dbus.Interface(bus.get_object("org.moblin.connman", path), + profile = dbus.Interface(bus.get_object("org.moblin.connman", path), "org.moblin.connman.Profile") - properties = element.GetProperties() + properties = profile.GetProperties() for key in properties.keys(): print " %s = %s" % (key, properties[key]) -- 2.7.4