Dulwich.io dulwich / 1b8b04b
Fix type checking on python 3.5. Jelmer Vernooń≥ a month ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2626
2727 class Bundle(object):
2828
29 version: Optional[int] = None
29 version = None # type: Optional[int]
3030
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]]
3535
3636 def __eq__(self, other):
3737 if not isinstance(other, type(self)):