test: Fix the no-argument case

This commit is contained in:
Denis Kenzior 2010-06-21 13:38:57 -05:00
parent a2596cb333
commit 7a4834a34a
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ elif len(sys.argv) == 2:
enabled = sys.argv[1]
else:
print "%s [PATH] topics" % (sys.argv[0])
sys.exit(1)
print "Setting delivery report use for modem %s..." % path
sms = dbus.Interface(bus.get_object('org.ofono', path),