mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Updated for coding style
This commit is contained in:
parent
b66ca72fed
commit
542a80941d
1 changed files with 4 additions and 4 deletions
|
@ -40,6 +40,10 @@ class UpdateRepositories(Configs):
|
|||
self.option_for_repository: bool = self.utils.is_option(
|
||||
('-o', '--repository='), flags)
|
||||
|
||||
def repositories(self) -> None:
|
||||
self.repos_for_update: dict = self.check_updates.updates()
|
||||
self.update_the_repositories()
|
||||
|
||||
def update_the_repositories(self) -> None:
|
||||
if not any(list(self.repos_for_update.values())):
|
||||
self.view.question()
|
||||
|
@ -604,7 +608,3 @@ class UpdateRepositories(Configs):
|
|||
self.generate.slackbuild_file(self.repos.sbo_repo_path, self.repos.sbo_repo_slackbuilds)
|
||||
|
||||
self.data.install_sbo_data()
|
||||
|
||||
def repositories(self) -> None:
|
||||
self.repos_for_update: dict = self.check_updates.updates()
|
||||
self.update_the_repositories()
|
||||
|
|
Loading…
Reference in a new issue