Fix type checking on python 3.5.
Jelmer Vernooij
a month ago
26 | 26 | |
27 | 27 | class Bundle(object): |
28 | 28 | |
29 | version: Optional[int] = None | |
29 | version = None # type: Optional[int] | |
30 | 30 | |
31 | capabilities: Dict[str, str] = {} | |
32 | prerequisites: List[Tuple[bytes, str]] = [] | |
33 | references: Dict[str, bytes] = {} | |
34 | pack_data: Union[PackData, Sequence[bytes]] = [] | |
31 | capabilities = {} # type: Dict[str, str] | |
32 | prerequisites = [] # type: List[Tuple[bytes, str]] | |
33 | references = {} # type: Dict[str, bytes] | |
34 | pack_data = [] # type: Union[PackData, Sequence[bytes]] | |
35 | 35 | |
36 | 36 | def __eq__(self, other): |
37 | 37 | if not isinstance(other, type(self)): |