diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2021-01-11 17:41:24 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2021-01-11 17:41:24 +0100 |
| commit | a82e048a943092315a32d745c99e0f5635e29134 (patch) | |
| tree | e2daea99a161768c9b956bfea9117289deaf31be /examples/python/dbus/create-bond.py | |
| parent | b51f06ff71a2060925bf3c0f04c44bd12480e670 (diff) | |
| parent | 65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff) | |
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'examples/python/dbus/create-bond.py')
| -rwxr-xr-x | examples/python/dbus/create-bond.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/dbus/create-bond.py b/examples/python/dbus/create-bond.py index 458c9c06..77c2ece4 100755 --- a/examples/python/dbus/create-bond.py +++ b/examples/python/dbus/create-bond.py @@ -13,7 +13,7 @@ import dbus, sys, uuid from dbus.mainloop.glib import DBusGMainLoop -from gi.repository import GObject +from gi.repository import GLib DBusGMainLoop(set_as_default=True) @@ -94,7 +94,7 @@ ac = manager.ActivateConnection(bond_path, "/", "/") print("Activating bond: %s (%s)" % (bond_name, ac)) # Monitor the active bond connection -loop = GObject.MainLoop() +loop = GLib.MainLoop() def properties_changed(props): |