Page MenuHomeSoftware Heritage

loader.core: Fix initialization issue
ClosedPublic

Authored by ardumont on Dec 12 2019, 3:41 PM.

Details

Summary

DVCS loader initializes their visit_type attribute as class attribute.
This was set to None as class attribute happens before constructor.

Test Plan

tox

Diff Detail

Repository
rDLDBASE Generic VCS/Package Loader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Dec 12 2019, 3:41 PM
anlambert accepted this revision.Dec 12 2019, 3:42 PM
This revision is now accepted and ready to land.Dec 12 2019, 3:42 PM
This revision was automatically updated to reflect the committed changes.