Update object variable to match its type
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Nov 2008 20:23:48 +0000 (21:23 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 23 Nov 2008 20:23:48 +0000 (21:23 +0100)
test/list-profiles

index 025f3cf..4774114 100755 (executable)
@@ -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])