HomeSoftware Heritage

pathslicing: fix the 'not a gzip' error message in check()

Description

pathslicing: fix the 'not a gzip' error message in check()

write the hex obj id in the error message instead of the repr of the bytes.

Fixes test_objstorage_pathslicing.py's test_check_not_gzip.

Details

Provenance
douarddaAuthored on Jun 14 2019, 3:29 PM
douarddaPushed on Jun 14 2019, 5:32 PM
Differential Revision
D1587: pathslicing: fix PathSlicingObjStorage.check() method
Parents
rDOBJS605a0b5dfd9c: tests/pathslicing: improve tests for the check() method
Branches
Unknown
Tags
Unknown
Build Status
Buildable 6226
Build 8601: test-and-build