Page MenuHomeSoftware Heritage

Prevent OriginMetadataIndexer from sending duplicate revisions to revision_metadata_add.
ClosedPublic

Authored by vlorentz on Feb 5 2019, 12:04 PM.

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont added a subscriber: ardumont.
ardumont added inline comments.
swh/indexer/metadata.py
311

why not build the 2 lists (rev_metadata, orig_metadata) in one go since you iterate over it here already?

This revision is now accepted and ready to land.Feb 6 2019, 3:15 PM
vlorentz marked 2 inline comments as done.
  • Fix
swh/indexer/metadata.py
311

Good catch

This revision was automatically updated to reflect the committed changes.