diff options
| author | Michael Biebl <biebl@debian.org> | 2018-05-11 22:08:45 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-05-11 22:08:45 +0200 |
| commit | ee9c73a923909e23a649407be77e25235d769e25 (patch) | |
| tree | e21c923621fa278e737da693df9eb60ea31a6067 /examples/python/dbus/show-bssids.py | |
| parent | f60117b41d5433be1b4a96d82cd11d0c3dce9b63 (diff) | |
New upstream version 1.10.8 upstream/1.10.8
Diffstat (limited to 'examples/python/dbus/show-bssids.py')
| -rwxr-xr-x | examples/python/dbus/show-bssids.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/python/dbus/show-bssids.py b/examples/python/dbus/show-bssids.py index 9776864f..505e3d35 100755 --- a/examples/python/dbus/show-bssids.py +++ b/examples/python/dbus/show-bssids.py @@ -32,7 +32,7 @@ manager = dbus.Interface(proxy, "org.freedesktop.NetworkManager") all_aps = [] -print("Associated APs:") +print "Associated APs:" # Get all network devices devices = manager.GetDevices() @@ -69,10 +69,10 @@ for d in devices: # Print the current AP's BSSID if path == connected_path: - print("%s (%s)" % (bssid, iface)) + print "%s (%s)" % (bssid, iface) # and print out all APs the wifi devices can see -print("\nFound APs:") +print"\nFound APs:" for bssid in all_aps: - print(bssid) + print bssid |