diff twisted/plugins/sat_plugin.py @ 3537:f9a5b810f14d

core (memory/storage): backend storage is now based on SQLAlchemy
author Goffi <goffi@goffi.org>
date Thu, 03 Jun 2021 15:20:47 +0200
parents 7550ae9cfbac
children 524856bd7b19
line wrap: on
line diff
--- a/twisted/plugins/sat_plugin.py	Thu Jun 03 15:15:11 2021 +0200
+++ b/twisted/plugins/sat_plugin.py	Thu Jun 03 15:20:47 2021 +0200
@@ -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()