diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-19 10:15:25 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-19 10:15:25 +0100 |
commit | 2d5ab53c5c005439464c684ed3402d81598c5aea (patch) | |
tree | d8ddcdd9d6dd6af95021e014218e078a885abcd1 /test/list-profiles | |
parent | 45c42779987d8e03732f571ef2b454c0f4c9abce (diff) | |
download | connman-2d5ab53c5c005439464c684ed3402d81598c5aea.tar.gz connman-2d5ab53c5c005439464c684ed3402d81598c5aea.tar.bz2 connman-2d5ab53c5c005439464c684ed3402d81598c5aea.zip |
Use properties for profiles, devices and connections
Diffstat (limited to 'test/list-profiles')
-rwxr-xr-x | test/list-profiles | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/list-profiles b/test/list-profiles index fcf1830c..025f3cf1 100755 --- a/test/list-profiles +++ b/test/list-profiles @@ -7,9 +7,9 @@ bus = dbus.SystemBus() manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), "org.moblin.connman.Manager") -profiles = manager.ListProfiles() +properties = manager.GetProperties() -for path in profiles: +for path in properties["Profiles"]: print "[ %s ]" % (path) element = dbus.Interface(bus.get_object("org.moblin.connman", path), |