summaryrefslogtreecommitdiff
path: root/git/exc.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/exc.py')
-rw-r--r--git/exc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/exc.py b/git/exc.py
index 1e0caf4e..54a1d51b 100644
--- a/git/exc.py
+++ b/git/exc.py
@@ -11,7 +11,7 @@ from git.compat import safe_decode
# typing ----------------------------------------------------
-from typing import List, Optional, Tuple, Union, TYPE_CHECKING
+from typing import List, Optional, Sequence, Tuple, Union, TYPE_CHECKING
from git.types import PathLike
if TYPE_CHECKING:
@@ -113,7 +113,7 @@ class CheckoutError(GitError):
were checked out successfully and hence match the version stored in the
index"""
- def __init__(self, message: str, failed_files: List[PathLike], valid_files: List[PathLike],
+ def __init__(self, message: str, failed_files: Sequence[PathLike], valid_files: List[PathLike],
failed_reasons: List[str]) -> None:
Exception.__init__(self, message)