Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-09 11:14:23 +03:00
parent 5ea45c1b20
commit bdf71b12df

View file

@ -447,7 +447,6 @@ class Argparse(Configs):
split_package: list = self.utils.split_binary_pkg(package)
for pkg in packages:
if pkg in package or pkg == '*':
choices.extend([(split_package[0], split_package[1], False, f'Package: {package}')])
@ -456,7 +455,6 @@ class Argparse(Configs):
for package in repo_packages:
if pkg == package:
inst_pkg: str = self.utils.is_package_installed(package)
split_inst_pkg: list = self.utils.split_binary_pkg(inst_pkg)
@ -592,7 +590,6 @@ class Argparse(Configs):
command = Argparse.build.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -615,7 +612,6 @@ class Argparse(Configs):
command = Argparse.install.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -640,7 +636,6 @@ class Argparse(Configs):
command = Argparse.download.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -657,7 +652,6 @@ class Argparse(Configs):
command = Argparse.remove.__name__
if len(self.args) >= 2:
packages: list = self.is_file_list_packages()
if self.utils.is_option(self.flag_searches, self.flags):
@ -674,7 +668,6 @@ class Argparse(Configs):
command = Argparse.find.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -690,7 +683,6 @@ class Argparse(Configs):
command = Argparse.view.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -712,7 +704,6 @@ class Argparse(Configs):
command = Argparse.search.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -728,7 +719,6 @@ class Argparse(Configs):
command = Argparse.dependees.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()
@ -746,7 +736,6 @@ class Argparse(Configs):
command = Argparse.tracking.__name__
if len(self.args) >= 2:
self.check.is_database_empty()
packages: list = self.is_file_list_packages()