Profiles that omit Serialization or Allow-Fetch.txt currently fail with a KeyError even though they have default values defined in the spec. These default values are now set in validate_bagit_profile.
Also, fail early if no BagIt-Profile-Info dict is present.
Profiles that omit
Serialization
orAllow-Fetch.txt
currently fail with aKeyError
even though they have default values defined in the spec. These default values are now set invalidate_bagit_profile
.Also, fail early if no
BagIt-Profile-Info
dict is present.