diff twisted/plugins/sat_plugin.py @ 4071:4b842c1fb686

refactoring: renamed `sat` package to `libervia.backend`
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 11:49:51 +0200
parents 524856bd7b19
children 040095a5dc7f
line wrap: on
line diff
--- a/twisted/plugins/sat_plugin.py	Thu Jun 01 21:37:34 2023 +0200
+++ b/twisted/plugins/sat_plugin.py	Fri Jun 02 11:49:51 2023 +0200
@@ -23,8 +23,8 @@
 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 @@
 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 @@
         # 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()