HomeSoftware Heritage

DiskObjectStore: fixed ignoring of comment lines

Description

DiskObjectStore: fixed ignoring of comment lines

In Python3, b"something"[0] is not b"s", but ord(b"s").
On the otherhand, startswith just works.

Details

Provenance
Georges Racinet <georges@racinet.fr>Authored on Nov 24 2020, 2:51 PM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDW06b65c3c2aef: DiskObjectStore: fix py3 TypeError in _read_alternate_paths
Branches
Unknown
Tags
Unknown

Event Timeline