mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-06 08:46:21 +01:00
Updated for coding style
This commit is contained in:
parent
a8ef2a2e33
commit
1e579055cf
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ class Choose(Configs):
|
||||||
if pkg in name or pkg == '*':
|
if pkg in name or pkg == '*':
|
||||||
self.choices.extend([(name, version, False, f'Package: {package}')])
|
self.choices.extend([(name, version, False, f'Package: {package}')])
|
||||||
|
|
||||||
def choose_for_upgraded(self, data: dict, packages: list):
|
def choose_for_upgraded(self, data: dict, packages: list) -> None:
|
||||||
""" Choose packages that they will going to upgrade. """
|
""" Choose packages that they will going to upgrade. """
|
||||||
for package in packages:
|
for package in packages:
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ class Choose(Configs):
|
||||||
f'Installed: {package}-{inst_package_version} Build: {inst_package_build} -> '
|
f'Installed: {package}-{inst_package_version} Build: {inst_package_build} -> '
|
||||||
f'Available: {repo_ver} Build: {repo_build_tag}')])
|
f'Available: {repo_ver} Build: {repo_build_tag}')])
|
||||||
|
|
||||||
def choose_for_others(self, data: dict, packages: list):
|
def choose_for_others(self, data: dict, packages: list) -> None:
|
||||||
""" Choose packages for others methods like install, tracking etc. """
|
""" Choose packages for others methods like install, tracking etc. """
|
||||||
if self.repository == '*':
|
if self.repository == '*':
|
||||||
for pkg in packages:
|
for pkg in packages:
|
||||||
|
|
Loading…
Add table
Reference in a new issue