mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +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 == '*':
|
||||
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. """
|
||||
for package in packages:
|
||||
|
||||
|
@ -80,7 +80,7 @@ class Choose(Configs):
|
|||
f'Installed: {package}-{inst_package_version} Build: {inst_package_build} -> '
|
||||
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. """
|
||||
if self.repository == '*':
|
||||
for pkg in packages:
|
||||
|
|
Loading…
Add table
Reference in a new issue