diff options
Diffstat (limited to 'examples/python/gi/firewall-zone.py')
-rwxr-xr-x | examples/python/gi/firewall-zone.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/gi/firewall-zone.py b/examples/python/gi/firewall-zone.py index 8ec59fa0e1..ed9e591032 100755 --- a/examples/python/gi/firewall-zone.py +++ b/examples/python/gi/firewall-zone.py @@ -48,8 +48,8 @@ if __name__ == "__main__": sys.exit('Usage: %s <connection name or UUID> [new zone]' % sys.argv[0]) main_loop = GLib.MainLoop() - settings = NM.RemoteSettings.new(None) - connections = settings.list_connections() + client = NM.Client.new(None) + connections = client.get_connections() con_name = sys.argv[1] if len(sys.argv) == 3: |