summary refs log tree commit diff
path: root/examples/python/gi/get_ips.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/get_ips.py
parent3f830f75cf071873c36e1365f80c31e2422e1f7c (diff)
parenta6ece1a2aa19a6268335c87d4fdef20123dd04a5 (diff)
Merge tag 'upstream/1.0.8'
Upstream version 1.0.8
Diffstat (limited to 'examples/python/gi/get_ips.py')
-rwxr-xr-xexamples/python/gi/get_ips.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/get_ips.py b/examples/python/gi/get_ips.py
index 690bd6ef..77e1d171 100755
--- a/examples/python/gi/get_ips.py
+++ b/examples/python/gi/get_ips.py
@@ -21,6 +21,8 @@
 #
 
 import sys, socket
+import gi
+gi.require_version('NM', '1.0')
 from gi.repository import GLib, NM
 
 #