From a6ece1a2aa19a6268335c87d4fdef20123dd04a5 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 24 Nov 2015 00:06:32 +0100 Subject: Imported Upstream version 1.0.8 --- examples/python/gi/update-ip4-method.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/python/gi/update-ip4-method.py') diff --git a/examples/python/gi/update-ip4-method.py b/examples/python/gi/update-ip4-method.py index 983578cf..5e058031 100755 --- a/examples/python/gi/update-ip4-method.py +++ b/examples/python/gi/update-ip4-method.py @@ -27,6 +27,8 @@ # https://developer.gnome.org/NetworkManager/1.0/ref-settings.html # +import gi +gi.require_version('NM', '1.0') from gi.repository import GLib, NM import sys, socket -- cgit 1.3.0-6-gf8a5