Remove GitPython dependency (#568)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Glenn Jocher
2023-01-23 03:45:54 +01:00
committed by GitHub
parent 3c4de102f6
commit d6a4ffb778
9 changed files with 138 additions and 58 deletions

View File

@ -231,7 +231,7 @@ def check_dataset_yaml(dataset, autodownload=True):
if s and autodownload:
LOGGER.warning(msg)
else:
raise FileNotFoundError(s)
raise FileNotFoundError(msg)
t = time.time()
if s.startswith('http') and s.endswith('.zip'): # URL
f = Path(s).name # filename