Refactor error package

This commit is contained in:
Dimitris Zlatanidis 2023-04-24 17:45:38 +03:00
parent 71452122e7
commit 698c1998ed
10 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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):

View file

@ -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):

View file

@ -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

View file

@ -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

View file

@ -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