summaryrefslogtreecommitdiffstats
path: root/test/set-use-sms-reports
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-17 00:00:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-17 00:00:02 +0200
commitca3a4cabeca96081345dd13264529f4dd4ab6bce (patch)
tree7a54b2a914d52a015db0eec6f748eb4de37fee81 /test/set-use-sms-reports
parentc75e904f6ea5543aa61462c66c87d8bccd546ddd (diff)
downloadofono-ca3a4cabeca96081345dd13264529f4dd4ab6bce.tar.bz2
test: Fix script for enabling delivery reports
Diffstat (limited to 'test/set-use-sms-reports')
-rwxr-xr-xtest/set-use-sms-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/set-use-sms-reports b/test/set-use-sms-reports
index a9e02d72..1188197e 100755
--- a/test/set-use-sms-reports
+++ b/test/set-use-sms-reports
@@ -11,11 +11,11 @@ if len(sys.argv) == 3:
elif len(sys.argv) == 2:
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
'org.ofono.Manager')
- modems = manager.getmodems()
+ modems = manager.GetModems()
path = modems[0][0]
enabled = sys.argv[1]
else:
- print "%s [PATH] topics" % (sys.argv[0])
+ print "%s [PATH] on/off" % (sys.argv[0])
sys.exit(1)
print "Setting delivery report use for modem %s..." % path