Mercurial > libervia-backend
comparison sat_frontends/jp/base.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 | 877145b4ba01 |
children |
comparison
equal
deleted
inserted
replaced
4070:d10748475025 | 4071:4b842c1fb686 |
---|---|
15 | 15 |
16 # You should have received a copy of the GNU Affero General Public License | 16 # You should have received a copy of the GNU Affero General Public License |
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 |
19 import asyncio | 19 import asyncio |
20 from sat.core.i18n import _ | 20 from libervia.backend.core.i18n import _ |
21 | 21 |
22 ### logging ### | 22 ### logging ### |
23 import logging as log | 23 import logging as log |
24 log.basicConfig(level=log.WARNING, | 24 log.basicConfig(level=log.WARNING, |
25 format='[%(name)s] %(message)s') | 25 format='[%(name)s] %(message)s') |
35 from pathlib import Path | 35 from pathlib import Path |
36 from glob import iglob | 36 from glob import iglob |
37 from typing import Optional, Set, Union | 37 from typing import Optional, Set, Union |
38 from importlib import import_module | 38 from importlib import import_module |
39 from sat_frontends.tools.jid import JID | 39 from sat_frontends.tools.jid import JID |
40 from sat.tools import config | 40 from libervia.backend.tools import config |
41 from sat.tools.common import dynamic_import | 41 from libervia.backend.tools.common import dynamic_import |
42 from sat.tools.common import uri | 42 from libervia.backend.tools.common import uri |
43 from sat.tools.common import date_utils | 43 from libervia.backend.tools.common import date_utils |
44 from sat.tools.common import utils | 44 from libervia.backend.tools.common import utils |
45 from sat.tools.common import data_format | 45 from libervia.backend.tools.common import data_format |
46 from sat.tools.common.ansi import ANSI as A | 46 from libervia.backend.tools.common.ansi import ANSI as A |
47 from sat.core import exceptions | 47 from libervia.backend.core import exceptions |
48 import sat_frontends.jp | 48 import sat_frontends.jp |
49 from sat_frontends.jp.loops import QuitException, get_jp_loop | 49 from sat_frontends.jp.loops import QuitException, get_jp_loop |
50 from sat_frontends.jp.constants import Const as C | 50 from sat_frontends.jp.constants import Const as C |
51 from sat_frontends.bridge.bridge_frontend import BridgeException | 51 from sat_frontends.bridge.bridge_frontend import BridgeException |
52 from sat_frontends.tools import misc | 52 from sat_frontends.tools import misc |