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/hangup-all | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/hangup-all') diff --git a/test/hangup-all b/test/hangup-all index d75a29c6..a8b9db53 100755 --- a/test/hangup-all +++ b/test/hangup-all @@ -8,9 +8,8 @@ bus = dbus.SystemBus() 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] manager = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.VoiceCallManager') -- cgit v1.2.3