From 2c032d8f1c6292c1338a615e6ec40252889ba85c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 22 Jan 2015 00:29:39 +0100 Subject: Imported Upstream version 1.0.0 --- examples/python/gi/get-active-connections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/python/gi/get-active-connections.py') diff --git a/examples/python/gi/get-active-connections.py b/examples/python/gi/get-active-connections.py index 13f0b031..55ba2d81 100755 --- a/examples/python/gi/get-active-connections.py +++ b/examples/python/gi/get-active-connections.py @@ -21,10 +21,10 @@ # This example lists currently active connections -from gi.repository import GLib, NMClient +from gi.repository import GLib, NM if __name__ == "__main__": - client = NMClient.Client.new() + client = NM.Client.new(None) acons = client.get_active_connections() for ac in acons: print "%s (%s) - %s" % (ac.get_id(), ac.get_uuid(), ac.get_connection_type()) -- cgit 1.3.0-6-gf8a5