From ba6db3af42efe2bcd85df536d1290487f9243d25 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 9 Sep 2010 14:37:37 -0500 Subject: test: Update to the new Manager api --- test/online-modem | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/online-modem') diff --git a/test/online-modem b/test/online-modem index db0b9f59..f37b046f 100755 --- a/test/online-modem +++ b/test/online-modem @@ -9,8 +9,8 @@ if len(sys.argv) == 2: else: manager = dbus.Interface(bus.get_object('org.ofono', '/'), 'org.ofono.Manager') - properties = manager.GetProperties() - path = properties["Modems"][0] + modems = manager.GetModems() + path = modems[0][0] print "Setting modem %s online..." % path modem = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.Modem') -- cgit v1.2.3