Skip to content
Snippets Groups Projects
Commit c767ba46 authored by Christophe Benz's avatar Christophe Benz
Browse files

If a pack is invalid, skip

parent 89bdc692
No related branches found
No related tags found
No related merge requests found
Pipeline #1280 failed with stage
in 1 minute and 25 seconds
......@@ -99,7 +99,9 @@ def main():
stdout=subprocess.PIPE,
)
dataset_tree_id = process.stdout.decode('utf-8').split(" ")[0]
assert dataset_tree_id
if not dataset_tree_id:
log.error("Could not retrieve dataset_tree_id from pack %s, skipping", pack_file_name)
continue
# Find blob ID of dataset.json in dataset tree.
process = subprocess.run(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment