FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Specify type for PushInfoList.error · gitpython-developers/GitPython@e67e458 · GitHub

Repository navigation

Commit e67e458

Browse files
authored andcommitted
Specify type for PushInfoList.error
1 parent 8797904 commit e67e458

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git/remote.py‎

Lines changed: 1 addition & 1 deletion
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)

Back | FazBrowse Home | New Git URL