diff options
author | Sjoerd Langkemper <sjoerd-github@linuxonly.nl> | 2021-11-09 15:16:44 +0000 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-11-13 15:20:20 +0800 |
commit | e67e458ece9077f6c6db9fc6a867ac61e0ae6579 (patch) | |
tree | 40bb8d7f8fa20f9793a5ba6dc1f607e0ade65d40 | |
parent | 8797904d04abc2df5da93ca7d799da21e5a50cb5 (diff) | |
download | gitpython-e67e458ece9077f6c6db9fc6a867ac61e0ae6579.tar.gz |
Specify type for PushInfoList.error
-rw-r--r-- | git/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py index aae845e5..c212f6d2 100644 --- a/git/remote.py +++ b/git/remote.py @@ -123,7 +123,7 @@ class PushInfoList(IterableList): def __init__(self) -> None: super().__init__('push_infos') - self.error = None + self.error: Optional[Exception] = None def raise_if_error(self) -> None: """ |