Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-04-01 20:47:05 +03:00
parent 18f2d67139
commit 74f09b1d93
2 changed files with 0 additions and 5 deletions

View file

@ -36,7 +36,6 @@ class CheckUpdates(Configs):
self.repo_chg_txt = None
def check(self) -> dict:
""" Checks the ChangeLogs and returns True or False. """
bin_repositories: dict = {
self.repos.alien_repo_name: self.alien_repository,
self.repos.multilib_repo_name: self.multilib_repository,
@ -181,7 +180,6 @@ class CheckUpdates(Configs):
print(f'{new_line}{self.endc}{self.yellow}No updated packages since the last check.{self.endc}')
def updates(self) -> None:
""" Starting multiprocessing download process. """
message: str = 'Checking for news, please wait...'
# Starting multiprocessing

View file

@ -53,7 +53,6 @@ class UpdateRepository(Configs):
self.flag_bin_repository: list = ['-B=', '--bin-repo=']
def update_the_repositories(self) -> None:
""" Updated the sbo repository. """
if not self.repos_for_update.values() or self.repo not in self.repos_for_update.keys():
self.view.question()
else:
@ -493,7 +492,6 @@ class UpdateRepository(Configs):
f"The repository '{self.green}{repo}{self.endc}' is not enabled.")
def make_dirs(self, repo) -> None:
""" Creating the repositories folders. """
path = Path(self.lib_path, 'repositories', repo)
if not os.path.isdir(path):
os.makedirs(path)
@ -515,7 +513,6 @@ class UpdateRepository(Configs):
return queue.put(is_update)
def repositories(self) -> None:
""" Starting multiprocessing download process. """
queue = Queue()
message = f'Checking for news, please wait...'