comparison 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
comparison
equal deleted inserted replaced
3536:0985c47ffd96 3537:f9a5b810f14d
61 pdb.post_mortem = ipdb.post_mortem 61 pdb.post_mortem = ipdb.post_mortem
62 except ImportError: 62 except ImportError:
63 pass 63 pass
64 64
65 def makeService(self, options): 65 def makeService(self, options):
66 from twisted.internet import gireactor 66 from twisted.internet import asyncioreactor
67 gireactor.install() 67 asyncioreactor.install()
68 self.setDebugger() 68 self.setDebugger()
69 # XXX: SAT must be imported after log configuration, because it write stuff to logs 69 # XXX: Libervia must be imported after log configuration,
70 # because it write stuff to logs
70 initialise(options.parent) 71 initialise(options.parent)
71 from sat.core.sat_main import SAT 72 from sat.core.sat_main import SAT
72 return SAT() 73 return SAT()
73 74
74 75