mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-24 20:16:28 +00:00
Fix typing issue from CI tests.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
d43bbdcd4a
commit
575ddbff59
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
from typing import DefaultDict, Dict, List, Optional, TypeVar
|
from typing import DefaultDict, Dict, List, Optional, TypeVar
|
||||||
|
|
||||||
from ..policyrep import PolicyObject, SELinuxPolicy
|
from ..policyrep import PolicyEnum, PolicyObject, SELinuxPolicy
|
||||||
|
|
||||||
from .difference import Wrapper, SymbolWrapper
|
from .difference import Wrapper, SymbolWrapper
|
||||||
|
|
||||||
@ -12,4 +12,5 @@ U = TypeVar("U", bound=Wrapper)
|
|||||||
Cache = DefaultDict[SELinuxPolicy, Dict[T, U]]
|
Cache = DefaultDict[SELinuxPolicy, Dict[T, U]]
|
||||||
SymbolCache = Cache[T, SymbolWrapper[T]]
|
SymbolCache = Cache[T, SymbolWrapper[T]]
|
||||||
|
|
||||||
RuleList = Optional[DefaultDict[T, List[U]]]
|
E = TypeVar("E", bound=PolicyEnum)
|
||||||
|
RuleList = Optional[DefaultDict[E, List[T]]]
|
||||||
|
Loading…
Reference in New Issue
Block a user