mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Updated for coding style
This commit is contained in:
parent
5ea45c1b20
commit
bdf71b12df
1 changed files with 0 additions and 11 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue