HomeSoftware Heritage

Fix documented return type of metadata_provider_add.
7af40f607068Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Fix documented return type of metadata_provider_add.

Summary:
As the in-mem storage was written based on this documentation, fix it as well.

Add a test for this behavior.

Depends on D716.

Reviewers: Reviewers, ardumont

Reviewed By: Reviewers, ardumont

Subscribers: ardumont, swh-public-ci

Differential Revision: https://forge.softwareheritage.org/D717

Details

Provenance
vlorentzAuthored on Nov 27 2018, 6:00 PM
vlorentzPushed on Nov 29 2018, 10:23 AM
Reviewer
Reviewers
Differential Revision
D717: Fix documented return type of metadata_provider_add.
Parents
R65:abee27c6df90: Storage.release_get: Yield None for non-existent release
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/2294