Page MenuHomeSoftware Heritage

api/private/read: use shutil.make_archive directly to generate the zip file
ClosedPublic

Authored by douardda on Jan 8 2020, 1:24 PM.

Details

Summary

this code was the only user for the swh.core.tarball.compress function. Doing
so allows to reduce a bit the complexity and coupligin in the code. It will also
allow to get rid of the swh.core.tarball.compress function.

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.