Skip to content

Commit 6cee072

Browse files
committed
Fix a type annotation for list_available_packages
The repositories parameter is a variable-length tuple instead of a one-element tuple.
1 parent 5e96448 commit 6cee072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archinstall/lib/packages/packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def check_package_upgrade(package: str) -> str | None:
127127

128128
@lru_cache
129129
def list_available_packages(
130-
repositories: tuple[Repository],
130+
repositories: tuple[Repository, ...],
131131
) -> dict[str, AvailablePackage]:
132132
"""
133133
Returns a list of all available packages in the database

0 commit comments

Comments
 (0)