Page MenuHomeSoftware Heritage

Monkey-patch backend classes instead of 'get_storage' functions.
ClosedPublic

Authored by vlorentz on Fri, Jan 31, 1:26 PM.

Details

Summary

get_storage functions are usually imported from X import get_storage,
so monkey-patching X.get_storage has no effect.
This commit reverts the behavior change introduced in
c018eeaaf7cb862402608426b90e9c7609a4a418.

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

vlorentz created this revision.Fri, Jan 31, 1:26 PM
ardumont accepted this revision.Fri, Jan 31, 1:27 PM
This revision is now accepted and ready to land.Fri, Jan 31, 1:27 PM