refactoring: renamed sat package to libervia.backend
This commit is contained in:
parent
a15648d682
commit
d2685ba11b
345 changed files with 1293 additions and 1293 deletions
|
|
@ -23,8 +23,8 @@ from twisted.plugin import IPlugin
|
|||
from twisted.application.service import IServiceMaker
|
||||
|
||||
# XXX: We need to configure logs before any log method is used, so here is the best place.
|
||||
from sat.core.constants import Const as C
|
||||
from sat.core.i18n import _
|
||||
from libervia.backend.core.constants import Const as C
|
||||
from libervia.backend.core.i18n import _
|
||||
|
||||
from sat_tmp.wokkel import install as install_wokkel_patches
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ install_wokkel_patches()
|
|||
def initialise(options):
|
||||
"""Method to initialise global modules"""
|
||||
# XXX: We need to configure logs before any log method is used, so here is the best place.
|
||||
from sat.core import log_config
|
||||
from libervia.backend.core import log_config
|
||||
log_config.sat_configure(C.LOG_BACKEND_TWISTED, C, backend_data=options)
|
||||
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ class SatMaker:
|
|||
# XXX: Libervia must be imported after log configuration,
|
||||
# because it write stuff to logs
|
||||
initialise(options.parent)
|
||||
from sat.core.sat_main import SAT
|
||||
from libervia.backend.core.sat_main import SAT
|
||||
return SAT()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue