Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bc76d4a

Browse files
committedNov 9, 2021
Specify type for PushInfoList.error
1 parent 56a395f commit bc76d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __new__(cls) -> 'PushInfoList':
123123

124124
def __init__(self) -> None:
125125
super().__init__('push_infos')
126-
self.error = None
126+
self.error: Optional[Exception] = None
127127

128128
def raise_if_error(self) -> None:
129129
"""

0 commit comments

Comments
 (0)
Please sign in to comment.