| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cc80e6b commit 420d2af
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,7 +57,7 @@ def __call__(self, stage_blob: Tuple[StageType, Blob]) -> bool: | |||
| 57 | 57 | for pathlike in self.paths: | |
| 58 | 58 | path: Path = pathlike if isinstance(pathlike, Path) else Path(pathlike) | |
| 59 | 59 | # TODO: Change to use `PosixPath.is_relative_to` once Python 3.8 is no longer supported. | |
| 60 | - if all(map(lambda t: t[0] == t[1], zip(path.parts, blob_path.parts))): | ||
| 60 | + if all(i == j for i, j in zip(path.parts, blob_path.parts)): | ||
| 61 | 61 | return True | |
| 62 | 62 | return False | |
| 63 | 63 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments