summary refs log tree commit diff
path: root/examples/python/gi/update-ip4-method.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-11-24 00:06:46 +0100
committerMichael Biebl <biebl@debian.org>2015-11-24 00:06:46 +0100
commit5916ab88146d04273e6a1895ba3eed7322f2625f (patch)
tree54479065ceda124ef5ff84890de64c52717a5645 /examples/python/gi/update-ip4-method.py
parent3f830f75cf071873c36e1365f80c31e2422e1f7c (diff)
parenta6ece1a2aa19a6268335c87d4fdef20123dd04a5 (diff)
Merge tag 'upstream/1.0.8'
Upstream version 1.0.8
Diffstat (limited to 'examples/python/gi/update-ip4-method.py')
-rwxr-xr-xexamples/python/gi/update-ip4-method.py2
1 files changed, 2 insertions, 0 deletions
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