diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-07-26 18:09:17 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-07-26 18:10:51 +0200 |
commit | 30310708307fb1ec5bc2d90cbe6ef4c66a683397 (patch) | |
tree | eca6d59dceddf71873376bf22a0460fb520a55f6 /test | |
parent | 069925347bf9eaa10aefae2b84c23aee26406a99 (diff) | |
download | connman-30310708307fb1ec5bc2d90cbe6ef4c66a683397.tar.gz connman-30310708307fb1ec5bc2d90cbe6ef4c66a683397.tar.bz2 connman-30310708307fb1ec5bc2d90cbe6ef4c66a683397.zip |
Try all technologies from start-scanning test script
Diffstat (limited to 'test')
-rwxr-xr-x | test/start-scanning | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/start-scanning b/test/start-scanning index b8e52294..e3bac28a 100755 --- 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" |