diff --git a/fetch-dependencies.py b/fetch-dependencies.py index 4b4a58f..c3fbc0d 100755 --- a/fetch-dependencies.py +++ b/fetch-dependencies.py @@ -100,7 +100,7 @@ def parse_dependencies(f) -> Iterator[Dependency]: match d: case [] | ['#', *_]: pass - case [path, repo, ref, *os]: + case [path, repo, ref, os]: yield Dependency(Path(path), repo, ref, os) case _: print(f'Error in dependencies file. I do not understand line {i}.', file=sys.stderr)