HomeSoftware Heritage

Postgres storage: introduce a db() context manager

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Postgres storage: introduce a db() context manager

This helper avoids us repeating the get_db/put_db pattern all the time.

Details

Provenance
olasdAuthored on Oct 2 2019, 5:04 PM
olasdPushed on Oct 2 2019, 5:57 PM
Differential Revision
D2066: Postgres storage: introduce a db() context manager
Build Status
Buildable 8090
Build 11664: test-and-buildJenkins

Commit No Longer Exists

This commit no longer exists in the repository.