Commit 32f4b2a6 authored by Christophe Benz's avatar Christophe Benz
Browse files

Fix return value

parent 07e3f8d6
......@@ -258,7 +258,7 @@ def validate_dataset(dataset_dir):
"location": "{}/dataset.json".format(dataset_code),
return (None, None, errors)
# Dataset directory name MUST be the dataset code.
error_code = "invalid-dataset-directory-name"
......@@ -306,7 +306,7 @@ def validate_provider(storage):
"location": "provider.json",
return (None, errors)
provider_code = provider_json.get('code')
Markdown is supported
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