Skip to content

files: make _write_db_file as context manager

This ensures the tarfile is properly closed.

Also make it a normal function because there is no point in it being a coroutine.

Signed-off-by: Filipe Laíns lains@riseup.net

Merge request reports