projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa88c1a
)
test: Add modem argument to cancel-ussd
author
Bertrand Aygon
<bertrand.aygon@intel.com>
Wed, 8 Jun 2011 13:56:28 +0000
(15:56 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 6 Jun 2011 20:09:08 +0000
(15:09 -0500)
test/cancel-ussd
patch
|
blob
|
history
diff --git
a/test/cancel-ussd
b/test/cancel-ussd
index
7379622
..
5246591
100755
(executable)
--- a/
test/cancel-ussd
+++ b/
test/cancel-ussd
@@
-10,7
+10,10
@@
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
modems = manager.GetModems()
-path, properties = modems[0]
+if (len(sys.argv) == 2):
+ path = sys.argv[1]
+else:
+ path = modems[0][0]
ussd = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SupplementaryServices')