HomeSoftware Heritage

swh.model.hashutil: Make unknown variable length algo creation break

Description

swh.model.hashutil: Make unknown variable length algo creation break

Remove the limit on the python3 version, this should be transparent.
If the hash requested is not available, this will raise with an
explanation on the error.

Related T692

Details

Provenance
ardumontAuthored on Mar 15 2017, 10:02 AM
ardumontPushed on Mar 21 2017, 10:36 AM
Differential Revision
D192: Open variable length hash algorithm support in swh.model.hashutil._new_hash
Parents
rDMOD8776435d08e2: swh.model.hashutil: Simplify length hash algorithms instantiation
Branches
Unknown
Tags
Unknown