Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
3714:af09b5aaa5d7 | 3715:b9718216a1c0 |
---|---|
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 |