diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-21 16:50:40 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-21 21:15:07 -0500 |
commit | 1719840566cf8f171654da3b4d9ba3aaeb5f0768 (patch) | |
tree | 0513ae09ce355a9a5b76d3d0738e7a8d8ba6ecb3 /test/send-sms | |
parent | aa780bc935f7b9daa11b0fd41f3dd108990c994e (diff) | |
download | ofono-1719840566cf8f171654da3b4d9ba3aaeb5f0768.tar.bz2 |
test: Update test/send-sms to the new API
Diffstat (limited to 'test/send-sms')
-rwxr-xr-x | test/send-sms | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/send-sms b/test/send-sms index 2d68a329..bd1fae5b 100755 --- a/test/send-sms +++ b/test/send-sms @@ -17,6 +17,8 @@ manager = dbus.Interface(bus.get_object('org.ofono', path), if len(sys.argv) == 4: manager.SetProperty("UseDeliveryReports", dbus.Boolean(int(sys.argv[1]))) - manager.SendMessage(sys.argv[1], sys.argv[2]) + path = manager.SendMessage(sys.argv[1], sys.argv[2]) else: - manager.SendMessage(sys.argv[1], sys.argv[2]) + path = manager.SendMessage(sys.argv[1], sys.argv[2]) + +print path |