projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0699253
)
Try all technologies from start-scanning test script
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 26 Jul 2010 16:09:17 +0000
(18:09 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 26 Jul 2010 16:10:51 +0000
(18:10 +0200)
test/start-scanning
patch
|
blob
|
history
diff --git
a/test/start-scanning
b/test/start-scanning
index
b8e5229
..
e3bac28
100755
(executable)
--- a/
test/start-scanning
+++ b/
test/start-scanning
@@
-23,8
+23,10
@@
for path in properties["Technologies"]:
for path in properties["Devices"]:
device = dbus.Interface(bus.get_object('org.moblin.connman', path),
'org.moblin.connman.Device')
-
- device.ProposeScan()
+ try:
+ device.ProposeScan()
+ except dbus.DBusException, error:
+ print " %s: %s" % (error._dbus_error_name, error.message)
else:
print " No scanning"