refactoring: renamed sat package to libervia.backend

This commit is contained in:
Goffi 2023-06-02 11:49:51 +02:00
commit d2685ba11b
12 changed files with 1293 additions and 1293 deletions

View file

@ -17,8 +17,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core import constants
from sat.core.i18n import _
from libervia.backend.core import constants
from libervia.backend.core.i18n import _
from collections import OrderedDict # only available from python 2.7

View file

@ -16,11 +16,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.log import getLogger
from sat.core.i18n import _
from sat.core import exceptions
from sat.tools import trigger
from sat.tools.common import data_format
from libervia.backend.core.log import getLogger
from libervia.backend.core.i18n import _
from libervia.backend.core import exceptions
from libervia.backend.tools import trigger
from libervia.backend.tools.common import data_format
from sat_frontends.tools import jid
from sat_frontends.quick_frontend import quick_widgets

View file

@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# from sat.core.i18n import _, D_
from sat.core.log import getLogger
from libervia.backend.core.log import getLogger
log = getLogger(__name__)
@ -26,7 +26,7 @@ log = getLogger(__name__)
from sat_frontends.quick_frontend.constants import Const as C
from sat_frontends.quick_frontend import quick_widgets
from sat_frontends.tools import jid
from sat.tools.common import data_format
from libervia.backend.tools.common import data_format
try:
# FIXME: to be removed when an acceptable solution is here

View file

@ -16,10 +16,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.i18n import _
from sat.core.log import getLogger
from sat.tools.common import data_format
from sat.core import exceptions
from libervia.backend.core.i18n import _
from libervia.backend.core.log import getLogger
from libervia.backend.tools.common import data_format
from libervia.backend.core import exceptions
from sat_frontends.quick_frontend import quick_widgets
from sat_frontends.quick_frontend.constants import Const as C
from collections import OrderedDict

View file

@ -19,9 +19,9 @@
"""Contact List handling multi profiles at once,
should replace quick_contact_list module in the future"""
from sat.core.i18n import _
from sat.core.log import getLogger
from sat.core import exceptions
from libervia.backend.core.i18n import _
from libervia.backend.core.log import getLogger
from libervia.backend.core import exceptions
from sat_frontends.quick_frontend.quick_widgets import QuickWidget
from sat_frontends.quick_frontend.constants import Const as C
from sat_frontends.tools import jid

View file

@ -17,8 +17,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.i18n import _
from sat.core.log import getLogger
from libervia.backend.core.i18n import _
from libervia.backend.core.log import getLogger
log = getLogger(__name__)
from sat_frontends.tools.jid import JID

View file

@ -17,7 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.log import getLogger
from libervia.backend.core.log import getLogger
log = getLogger(__name__)
from sat_frontends.tools.jid import JID

View file

@ -17,11 +17,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.log import getLogger
from libervia.backend.core.log import getLogger
log = getLogger(__name__)
from sat.core.i18n import _
from libervia.backend.core.i18n import _
from sat_frontends.tools import jid
from sat_frontends.tools import games

View file

@ -26,8 +26,8 @@ except (
): # Error raised is not the same depending on pyjsbuild options
str = str
from sat.core.log import getLogger
from sat.core.i18n import _, language_switch
from libervia.backend.core.log import getLogger
from libervia.backend.core.i18n import _, language_switch
log = getLogger(__name__)
from sat_frontends.quick_frontend.constants import Const as C

View file

@ -17,8 +17,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.i18n import _
from sat.core import log as logging
from libervia.backend.core.i18n import _
from libervia.backend.core import log as logging
log = logging.getLogger(__name__)
from sat_frontends.primitivus.constants import Const as C

View file

@ -17,7 +17,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.i18n import _
from libervia.backend.core.i18n import _
from os.path import exists, splitext
from optparse import OptionParser

View file

@ -17,10 +17,10 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from sat.core.log import getLogger
from libervia.backend.core.log import getLogger
log = getLogger(__name__)
from sat.core import exceptions
from libervia.backend.core import exceptions
from sat_frontends.quick_frontend.constants import Const as C