summary refs log tree commit diff
path: root/examples/python/gi/list-connections.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-11-24 00:06:32 +0100
committerMichael Biebl <biebl@debian.org>2015-11-24 00:06:32 +0100
commita6ece1a2aa19a6268335c87d4fdef20123dd04a5 (patch)
tree87f1961faacdfafb1c4fee5f2feb6bcb5c06813b /examples/python/gi/list-connections.py
parent81836c2d44802b4cca833d7775dd627e0797a7e2 (diff)
Imported Upstream version 1.0.8 upstream/1.0.8
Diffstat (limited to 'examples/python/gi/list-connections.py')
-rwxr-xr-xexamples/python/gi/list-connections.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/list-connections.py b/examples/python/gi/list-connections.py
index 34b559fc..32ea70f5 100755
--- a/examples/python/gi/list-connections.py
+++ b/examples/python/gi/list-connections.py
@@ -20,6 +20,8 @@
 # Copyright 2012 - 2014 Red Hat, Inc.
 #
 
+import gi
+gi.require_version('NM', '1.0')
 from gi.repository import NM
 
 # This example asks settings service for all configured connections.