Mercurial > libervia-backend
comparison twisted/plugins/sat_plugin.py @ 3476:11003f9f92fb
core: moved `sat_tmp.wokkel` install `sat_plugin`:
This patch need to be installed early so it's available before anything imports
`wokkel.data_form`.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 18 Mar 2021 22:35:59 +0100 |
parents | 3ac28e51a24f |
children | be6d91572633 |
comparison
equal
deleted
inserted
replaced
3475:3ac28e51a24f | 3476:11003f9f92fb |
---|---|
23 from twisted.application.service import IServiceMaker | 23 from twisted.application.service import IServiceMaker |
24 | 24 |
25 # XXX: We need to configure logs before any log method is used, so here is the best place. | 25 # XXX: We need to configure logs before any log method is used, so here is the best place. |
26 from sat.core.constants import Const as C | 26 from sat.core.constants import Const as C |
27 from sat.core.i18n import _ | 27 from sat.core.i18n import _ |
28 | |
29 from sat_tmp.wokkel import install as install_wokkel_patches | |
30 | |
31 | |
32 install_wokkel_patches() | |
28 | 33 |
29 | 34 |
30 def initialise(options): | 35 def initialise(options): |
31 """Method to initialise global modules""" | 36 """Method to initialise global modules""" |
32 # XXX: We need to configure logs before any log method is used, so here is the best place. | 37 # XXX: We need to configure logs before any log method is used, so here is the best place. |