From f1ace258417deae329880754987851b1b8fc0a7a Mon Sep 17 00:00:00 2001 From: yobmod Date: Wed, 12 May 2021 18:10:37 +0100 Subject: Add types to cmd.py AutoInterrupt --- git/exc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/exc.py') 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: -- cgit v1.2.1