about summary refs log tree commit diff
path: root/examples/python/dbus/show-bssids.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-06-04 00:07:45 +0200
committerMichael Biebl <biebl@debian.org>2018-06-04 00:07:45 +0200
commit04bc9e1cd3544445d883ad29ea108c1645c8e7b7 (patch)
treed10c354b1b980ca8a7b9e48ec9019e8ed88bde2b /examples/python/dbus/show-bssids.py
parentee9c73a923909e23a649407be77e25235d769e25 (diff)
New upstream version 1.11.4 upstream/1.11.4
Diffstat (limited to 'examples/python/dbus/show-bssids.py')
-rwxr-xr-xexamples/python/dbus/show-bssids.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/python/dbus/show-bssids.py b/examples/python/dbus/show-bssids.py
index 505e3d35..9776864f 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)