Page MenuHomeSoftware Heritage

Kill DbBackend class
ClosedPublic

Authored by douardda on Wed, Jan 30, 10:57 AM.

Details

Summary

we can now use directly the implementation of the copy_to() method from
swh.core's BaseDb, so we just have to extract the format_query as a simple
function (which it should have been since the beginning).

Adapt updater/backend.py acordingly.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Wed, Jan 30, 10:57 AM
ardumont accepted this revision.Wed, Jan 30, 11:01 AM
This revision is now accepted and ready to land.Wed, Jan 30, 11:01 AM
This revision was automatically updated to reflect the committed changes.