Page MenuHomeSoftware Heritage

Clean temporary file handling for metadata generation, and add test.
ClosedPublic

Authored by vlorentz on Dec 18 2019, 6:32 PM.

Details

Summary

This uses a context-manager instead of manually handling
removing the file.

Depends on D2465.

Diff Detail

Repository
rDDEP swh-deposit
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.Dec 18 2019, 6:32 PM
ardumont accepted this revision.Dec 19 2019, 9:10 AM
This revision is now accepted and ready to land.Dec 19 2019, 9:10 AM