Mercurial > libervia-backend
comparison sat_frontends/jp/common.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 |
comparison
equal
deleted
inserted
replaced
4070:d10748475025 | 4071:4b842c1fb686 |
---|---|
25 import asyncio | 25 import asyncio |
26 import shlex | 26 import shlex |
27 import re | 27 import re |
28 from pathlib import Path | 28 from pathlib import Path |
29 from sat_frontends.jp.constants import Const as C | 29 from sat_frontends.jp.constants import Const as C |
30 from sat.core.i18n import _ | 30 from libervia.backend.core.i18n import _ |
31 from sat.core import exceptions | 31 from libervia.backend.core import exceptions |
32 from sat.tools.common import regex | 32 from libervia.backend.tools.common import regex |
33 from sat.tools.common.ansi import ANSI as A | 33 from libervia.backend.tools.common.ansi import ANSI as A |
34 from sat.tools.common import uri as xmpp_uri | 34 from libervia.backend.tools.common import uri as xmpp_uri |
35 from sat.tools import config | 35 from libervia.backend.tools import config |
36 from configparser import NoSectionError, NoOptionError | 36 from configparser import NoSectionError, NoOptionError |
37 from collections import namedtuple | 37 from collections import namedtuple |
38 | 38 |
39 # default arguments used for some known editors (editing with metadata) | 39 # default arguments used for some known editors (editing with metadata) |
40 VIM_SPLIT_ARGS = "-c 'set nospr|vsplit|wincmd w|next|wincmd w'" | 40 VIM_SPLIT_ARGS = "-c 'set nospr|vsplit|wincmd w|next|wincmd w'" |