forked from Mirror/pmbootstrap
pmb.chroot.apk: Type hint package list in packages_get_locally_built_apks (MR 2425)
This commit is contained in:
parent
71772b9b6b
commit
8aa3b034b0
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ def packages_split_to_add_del(packages):
|
|||
return (to_add, to_del)
|
||||
|
||||
|
||||
def packages_get_locally_built_apks(packages, arch: Arch) -> list[Path]:
|
||||
def packages_get_locally_built_apks(package_list: list[str], arch: Arch) -> list[Path]:
|
||||
"""
|
||||
Iterate over packages and if existing, get paths to locally built packages.
|
||||
This is used to force apk to upgrade packages to newer local versions, even
|
||||
|
@ -141,7 +141,7 @@ def packages_get_locally_built_apks(packages, arch: Arch) -> list[Path]:
|
|||
channels: list[str] = pmb.config.pmaports.all_channels()
|
||||
local: list[Path] = []
|
||||
|
||||
packages = set(packages)
|
||||
packages = set(package_list)
|
||||
|
||||
walked: set[str] = set()
|
||||
while len(packages):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue