codeforIATI / iatikit

🐨 A toolkit for using IATI data
https://iatikit.readthedocs.io
MIT License
6 stars 0 forks source link

`dataset.schema` should return None on fail #37

Closed andylolz closed 5 years ago

andylolz commented 5 years ago

dataset.schema currently raises a SchemaNotFoundError on failure. It would probably be better if it logged a warning but returned None.

dataset.validate_iati() should raise a SchemaNotFoundError if there’s no schema.

andylolz commented 5 years ago

Fixed in 201bfa0.