summaryrefslogtreecommitdiff
path: root/git/exc.py
diff options
context:
space:
mode:
authoryobmod <yobmod@gmail.com>2021-05-12 18:10:37 +0100
committeryobmod <yobmod@gmail.com>2021-05-12 18:10:37 +0100
commitf1ace258417deae329880754987851b1b8fc0a7a (patch)
tree09b4e6b69e96e191951cedcf6ad30055968c6ab7 /git/exc.py
parent887f249a2241d45765437b295b46bca1597d91a3 (diff)
downloadgitpython-f1ace258417deae329880754987851b1b8fc0a7a.tar.gz
Add types to cmd.py AutoInterrupt
Diffstat (limited to 'git/exc.py')
-rw-r--r--git/exc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/exc.py b/git/exc.py
index 6e646921..bcf5aabb 100644
--- a/git/exc.py
+++ b/git/exc.py
@@ -91,7 +91,7 @@ class GitCommandError(CommandError):
""" Thrown if execution of the git command fails with non-zero status code. """
def __init__(self, command: Union[List[str], Tuple[str, ...], str],
- status: Union[str, None, Exception] = None,
+ status: Union[str, int, None, Exception] = None,
stderr: Optional[IO[str]] = None,
stdout: Optional[IO[str]] = None,
) -> None: