mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated for coding style
This commit is contained in:
parent
85dcec564a
commit
6494746317
1 changed files with 0 additions and 5 deletions
|
@ -76,9 +76,7 @@ class Packages(Configs):
|
|||
|
||||
def creating_dependencies_list(self) -> None:
|
||||
if not self.option_for_resolve_off:
|
||||
|
||||
for pkg in self.packages:
|
||||
|
||||
# Skip installed package when the option --skip-installed is applied.
|
||||
if self.option_for_skip_installed and self.utils.is_package_installed(pkg):
|
||||
continue
|
||||
|
@ -151,7 +149,6 @@ class Packages(Configs):
|
|||
def install_packages(self) -> None:
|
||||
""" Install the packages. """
|
||||
for package in self.binary_packages:
|
||||
|
||||
message: str = f'{self.cyan}Installing{self.endc}'
|
||||
slack_command: str = self.installpkg
|
||||
|
||||
|
@ -212,7 +209,6 @@ class Packages(Configs):
|
|||
|
||||
for package in dependencies:
|
||||
status: bool = True
|
||||
|
||||
repo_ver: str = self.data[package][0]
|
||||
help_text: str = f'Package: {package} {repo_ver}'
|
||||
installed: str = self.utils.is_package_installed(package)
|
||||
|
@ -228,7 +224,6 @@ class Packages(Configs):
|
|||
text: str = f'There are {len(choices)} dependencies:'
|
||||
code, tags = self.dialogbox.checklist(text, dependencies, title, height,
|
||||
width, list_height, choices)
|
||||
|
||||
if not code:
|
||||
return dependencies
|
||||
|
||||
|
|
Loading…
Reference in a new issue