diff --git a/slpkg/blacklist.py b/slpkg/blacklist.py index fa7755a5..eaa66ce4 100644 --- a/slpkg/blacklist.py +++ b/slpkg/blacklist.py @@ -4,8 +4,8 @@ import tomli from pathlib import Path -from slpkg.errors import Errors from slpkg.configs import Configs +from slpkg.errors_messages import Errors from slpkg.models.models import session as Session diff --git a/slpkg/checks.py b/slpkg/checks.py index e716aab2..1e0526c3 100644 --- a/slpkg/checks.py +++ b/slpkg/checks.py @@ -3,10 +3,10 @@ from pathlib import Path -from slpkg.errors import Errors from slpkg.configs import Configs from slpkg.utilities import Utilities from slpkg.repositories import Repositories +from slpkg.errors_messages import Errors from slpkg.models.models import session as Session from slpkg.models.models import SBoTable, PonceTable, BinariesTable diff --git a/slpkg/checksum.py b/slpkg/checksum.py index 7bdce95f..11b700e7 100644 --- a/slpkg/checksum.py +++ b/slpkg/checksum.py @@ -6,9 +6,9 @@ from pathlib import Path from typing import Union from urllib.parse import unquote -from slpkg.errors import Errors from slpkg.views.ascii import Ascii from slpkg.utilities import Utilities +from slpkg.errors_messages import Errors from slpkg.views.views import ViewMessage diff --git a/slpkg/configs.py b/slpkg/configs.py index ca35a535..2f083c4c 100644 --- a/slpkg/configs.py +++ b/slpkg/configs.py @@ -7,7 +7,7 @@ import platform from pathlib import Path from dataclasses import dataclass -from slpkg.errors import Errors +from slpkg.errors_messages import Errors from slpkg.logging_config import LoggingConfig diff --git a/slpkg/dialog_configs.py b/slpkg/dialog_configs.py index f73d3eb1..b01dbf32 100644 --- a/slpkg/dialog_configs.py +++ b/slpkg/dialog_configs.py @@ -5,10 +5,10 @@ import os from pathlib import Path from slpkg.configs import Load -from slpkg.errors import Errors from slpkg.configs import Configs from slpkg.utilities import Utilities from slpkg.dialog_box import DialogBox +from slpkg.errors_messages import Errors class FormConfigs(Configs): diff --git a/slpkg/downloader.py b/slpkg/downloader.py index 4a2a2100..6d6ea62f 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -7,9 +7,9 @@ from pathlib import Path from urllib.parse import unquote from multiprocessing import Process -from slpkg.errors import Errors from slpkg.configs import Configs from slpkg.utilities import Utilities +from slpkg.errors_messages import Errors class Downloader(Configs): diff --git a/slpkg/errors.py b/slpkg/errors_messages.py similarity index 100% rename from slpkg/errors.py rename to slpkg/errors_messages.py diff --git a/slpkg/repositories.py b/slpkg/repositories.py index 7142cc7a..be1570c4 100644 --- a/slpkg/repositories.py +++ b/slpkg/repositories.py @@ -6,8 +6,8 @@ import tomli from pathlib import Path from dataclasses import dataclass -from slpkg.errors import Errors from slpkg.configs import Configs +from slpkg.errors_messages import Errors @dataclass diff --git a/slpkg/sbos/slackbuild.py b/slpkg/sbos/slackbuild.py index c01bd770..0a16f7cc 100644 --- a/slpkg/sbos/slackbuild.py +++ b/slpkg/sbos/slackbuild.py @@ -10,13 +10,13 @@ from pathlib import Path from collections import OrderedDict from multiprocessing import Process, cpu_count -from slpkg.errors import Errors from slpkg.checksum import Md5sum from slpkg.configs import Configs from slpkg.upgrade import Upgrade from slpkg.utilities import Utilities from slpkg.dialog_box import DialogBox from slpkg.downloader import Downloader +from slpkg.errors_messages import Errors from slpkg.views.views import ViewMessage from slpkg.progress_bar import ProgressBar from slpkg.repositories import Repositories diff --git a/slpkg/utilities.py b/slpkg/utilities.py index 65ee9326..abc7d308 100644 --- a/slpkg/utilities.py +++ b/slpkg/utilities.py @@ -10,9 +10,9 @@ import subprocess from pathlib import Path from typing import Generator, Union -from slpkg.errors import Errors from slpkg.configs import Configs from slpkg.blacklist import Blacklist +from slpkg.errors_messages import Errors from slpkg.repositories import Repositories from slpkg.logging_config import LoggingConfig