From 6494746317c6ebaa6e46b9c1fc06c37c658059dd Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 8 May 2023 12:24:11 +0300 Subject: [PATCH] Updated for coding style --- slpkg/binaries/install.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/slpkg/binaries/install.py b/slpkg/binaries/install.py index 782c2c2f..ee746918 100644 --- a/slpkg/binaries/install.py +++ b/slpkg/binaries/install.py @@ -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