Page MenuHomeSoftware Heritage

Make visit['origin'] a string everywhere (instead of a dict).
ClosedPublic

Authored by vlorentz on Wed, Oct 30, 2:37 PM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Wed, Oct 30, 2:37 PM
olasd accepted this revision.Wed, Oct 30, 2:56 PM
olasd added a subscriber: olasd.

Thanks!

swh/storage/storage.py
1229–1230

I guess these two lines aren't really needed anymore. You can also add an isinstance like you did other methods.

This revision is now accepted and ready to land.Wed, Oct 30, 2:56 PM
vlorentz updated this revision to Diff 7508.Wed, Oct 30, 3:08 PM

remove useless query