From f24eee5ee30dfde5282c7b074e0d5252640322e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Mon, 3 Mar 2014 14:28:51 +0100 Subject: [PATCH] examples: also print type of active connections --- examples/python/dbus/get-active-connection-uuids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/dbus/get-active-connection-uuids.py b/examples/python/dbus/get-active-connection-uuids.py index 9eefac20b2..6fe93d05da 100755 --- a/examples/python/dbus/get-active-connection-uuids.py +++ b/examples/python/dbus/get-active-connection-uuids.py @@ -49,7 +49,7 @@ for a in active: c_proxy = bus.get_object("org.freedesktop.NetworkManager", connection_path) connection = dbus.Interface(c_proxy, "org.freedesktop.NetworkManager.Settings.Connection") settings = connection.GetSettings() - print "%s (%s)" % (settings['connection']['id'], uuid) + print "%s (%s) - %s" % (settings['connection']['id'], uuid, settings['connection']['type']) if len(active) == 0: print "No active connections"