From 30310708307fb1ec5bc2d90cbe6ef4c66a683397 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Mon, 26 Jul 2010 18:09:17 +0200 Subject: [PATCH] Try all technologies from start-scanning test script --- test/start-scanning | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/start-scanning b/test/start-scanning index b8e5229..e3bac28 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" -- 2.7.4