Skip to content

Commit b2e9b7b

Browse files
authored
Trying to fix failed build
1 parent d7db7e5 commit b2e9b7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openMINDS_pipeline/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def clone_central(refetch:bool):
2626
def clone_sources(modules, version):
2727
print(f"Now building the version {version}")
2828
for module, spec in modules.items():
29-
print(f"Cloning module {module} in commit {spec.commit}")
30-
repo = Repo.clone_from(spec.repository, f"sources/{module}", no_checkout=True)
31-
repo.git.checkout(spec.commit)
29+
print(f"Cloning module {module} in commit {spec['commit']}")
30+
repo = Repo.clone_from(spec["repository"], f"sources/{module}", no_checkout=True)
31+
repo.git.checkout(spec["commit"])
3232
print("Done cloning")
3333

3434

0 commit comments

Comments
 (0)