HomeSoftware Heritage

browse/utils: Properly fix the issue with file-magic

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

browse/utils: Properly fix the issue with file-magic

Finally manage to remove the ugly hack I introduced in a2759fec6009. Turns out
that calls to file-magic API are not thread-safe so they must be protected
with a threading.Lock instance.

Details

Provenance
anlambertAuthored on Aug 1 2019, 3:36 PM
anlambertPushed on Aug 1 2019, 3:38 PM
Build Status
Buildable 7112
Build 10028: Cypress tests for swh-web commits
Build 10027: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.