LibraryOfCongress / bagit-python

Work with BagIt packages from Python.
http://libraryofcongress.github.io/bagit-python
216 stars 85 forks source link

Update bagit.py #174

Open finoradin opened 5 months ago

finoradin commented 5 months ago

Fixing validation bug - oxum validation was outside the if fast condition, so validation was always defaulting to fast

acdha commented 2 weeks ago

Can you give a little more detail about the scenario you encountered? We always want to validate the payload oxum value even if we're not doing a fast validation so the code appears to be correct and a brief review of the existing tests shows at least one test which relies on slow validation.