From c6a018bdf802326f89e8c93ccac79fae78d94974 Mon Sep 17 00:00:00 2001 From: Austin Scola Date: Sun, 26 Jun 2022 16:47:41 -0400 Subject: Fix pathlike type annotation typo --- git/index/typ.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/index/typ.py') diff --git a/git/index/typ.py b/git/index/typ.py index ad1a6973..7f5dcc10 100644 --- a/git/index/typ.py +++ b/git/index/typ.py @@ -52,7 +52,7 @@ class BlobFilter(object): self.paths = paths def __call__(self, stage_blob: Tuple[StageType, Blob]) -> bool: - blob_pathlike: Pathlike = stage_blob[1].path + blob_pathlike: PathLike = stage_blob[1].path blob_path: Path = blob_pathlike if isinstance(blob_pathlike, Path) else Path(blob_pathlike) for pathlike in self.paths: path: Path = pathlike if isinstance(pathlike, Path) else Path(pathlike) -- cgit v1.2.1