HomeSoftware Heritage

client/credentials: ignore end-of-line character

Description

client/credentials: ignore end-of-line character

Before this change, credential files consisting of only one
line without end-of-line would work.

The change is actually stripping any leading and trailing whitespace,
but that shouldn't be a problem. The shared test setup is updated with
a newline because that should be a fairly common case.

Details

Provenance
Georges Racinet <georges@racinet.fr>Authored on Jan 29 2021, 3:51 PM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDW7feb17014d1d: Inline _get_ignore_manager.
Branches
Unknown
Tags
Unknown

Event Timeline