forked from Mirror/pmbootstrap
Ruff: fix typing.Xxx
is deprecated, use xxx
instead (MR 2327)
This commit is contained in:
parent
61cb4f4abb
commit
18fa4e58a3
47 changed files with 137 additions and 147 deletions
|
@ -10,7 +10,7 @@ See also:
|
|||
"""
|
||||
|
||||
import copy
|
||||
from typing import Any, Dict
|
||||
from typing import Any
|
||||
from pmb.core.arch import Arch
|
||||
from pmb.core.context import get_context
|
||||
from pmb.helpers import logging
|
||||
|
@ -50,7 +50,7 @@ def get(pkgname, arch, replace_subpkgnames=False, must_exist=True):
|
|||
* None if the package was not found
|
||||
"""
|
||||
# Find in pmaports
|
||||
ret: Dict[str, Any] = {}
|
||||
ret: dict[str, Any] = {}
|
||||
pmaport = pmb.helpers.pmaports.get(pkgname, False)
|
||||
if pmaport:
|
||||
ret = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue