From 70e18d99b8e3e77bb37e218d7ac582130156f8ef Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 25 Jan 2024 09:46:18 +0100 Subject: New upstream version 1.45.90 --- examples/python/gi/gmaincontext.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/python/gi/gmaincontext.py') diff --git a/examples/python/gi/gmaincontext.py b/examples/python/gi/gmaincontext.py index 64a5620b..25283f18 100755 --- a/examples/python/gi/gmaincontext.py +++ b/examples/python/gi/gmaincontext.py @@ -71,6 +71,7 @@ def error_is_cancelled(e): ############################################################################### + # A Context manager for running a mainloop. Of course, this does # not do anything magically. You can run the context/mainloop without # this context object. @@ -265,7 +266,6 @@ def create_nmc(dbus_connection): def make_call(nmc): - log("[make_call]: make some async D-Bus call") if not nmc: @@ -273,7 +273,6 @@ def make_call(nmc): return with MainLoopRun("make_call", nmc.get_main_context(), 1) as r: - # There are two reasons why async operations are preferable with # D-Bus and libnm: # @@ -405,7 +404,6 @@ def destroy_nmc(nmc_holder, destroy_mode): raise Exception("Failure to destroy NMClient: something keeps it alive") else: - if destroy_mode == 1: ctx = GLib.MainContext.default() else: -- cgit 1.3.0-6-gf8a5