Page MenuHomeSoftware Heritage

journalprocessor: fix hashing of origin_visit_status objects
ClosedPublic

Authored by seirl on Dec 15 2020, 10:03 PM.

Details

Test Plan

Unfortunately there aren't unit tests for this part yet

Diff Detail

Repository
rDDATASET Datasets
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd added a subscriber: olasd.

Tentatively accepted; not 100% sure about what the actual type of the date field is, you'll need to check that...

swh/dataset/journalprocessor.py
372

I think it's supposed to be a datetime object, so you'll probably want to use .timestamp() on it to "normalize" it?

This revision is now accepted and ready to land.Dec 15 2020, 10:07 PM