Fix broken test script for network selection
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Mar 2009 01:56:55 +0000 (18:56 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 26 Mar 2009 01:56:55 +0000 (18:56 -0700)
test/select-network

index e7d1a63..e7c19be 100755 (executable)
@@ -31,6 +31,9 @@ for path in properties["Devices"]:
 
                properties = network.GetProperties()
 
+               if "Name" not in properties.keys:
+                       continue
+
                if (properties["Connected"] == dbus.Boolean(1)):
                        continue