diff twisted/plugins/sat_plugin.py @ 3715:b9718216a1c0 0.9

merge bookmark 0.9
author Goffi <goffi@goffi.org>
date Wed, 01 Dec 2021 16:13:31 +0100
parents f9a5b810f14d
children 524856bd7b19
line wrap: on
line diff
--- a/twisted/plugins/sat_plugin.py	Tue Nov 30 23:31:09 2021 +0100
+++ b/twisted/plugins/sat_plugin.py	Wed Dec 01 16:13:31 2021 +0100
@@ -63,10 +63,11 @@
                 pass
 
     def makeService(self, options):
-        from twisted.internet import gireactor
-        gireactor.install()
+        from twisted.internet import asyncioreactor
+        asyncioreactor.install()
         self.setDebugger()
-        # XXX: SAT must be imported after log configuration, because it write stuff to logs
+        # XXX: Libervia must be imported after log configuration,
+        #      because it write stuff to logs
         initialise(options.parent)
         from sat.core.sat_main import SAT
         return SAT()