From ad4f90684fac01be21789df40882fb9869c3cd41 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 11 Mar 2014 17:39:21 +0100 Subject: test: Move from static gobject bindings to GI Use GLib gobject-introspection bindings so that we can also use the scripts with Python 3. --- test/test-network-registration | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test-network-registration') diff --git a/test/test-network-registration b/test/test-network-registration index 9410ae6e..c5ad5864 100755 --- a/test/test-network-registration +++ b/test/test-network-registration @@ -1,6 +1,6 @@ #!/usr/bin/python -import gobject +from gi.repository import GLib import sys import dbus import dbus.mainloop.glib @@ -67,5 +67,5 @@ if __name__ == "__main__": canexit = True - mainloop = gobject.MainLoop() + mainloop = GLib.MainLoop() mainloop.run() -- cgit v1.2.3