diff options
Diffstat (limited to 'test/select-network')
-rwxr-xr-x | test/select-network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/select-network b/test/select-network index e7c19be3..376d9d2b 100755 --- a/test/select-network +++ b/test/select-network @@ -21,7 +21,7 @@ for path in properties["Devices"]: properties = device.GetProperties() if (properties["Type"] != "wifi" and properties["Type"] != "wimax"): - continue; + continue print "[ %s ]" % (path) @@ -31,7 +31,7 @@ for path in properties["Devices"]: properties = network.GetProperties() - if "Name" not in properties.keys: + if "Name" not in properties.keys(): continue if (properties["Connected"] == dbus.Boolean(1)): |