diff --git a/swh/indexer/storage/__init__.py b/swh/indexer/storage/__init__.py --- a/swh/indexer/storage/__init__.py +++ b/swh/indexer/storage/__init__.py @@ -442,7 +442,7 @@ yield converters.db_to_ctags(dict(zip(db.content_ctags_cols, obj))) @remote_api_endpoint('content/fossology_license') - @db_transaction_generator() + @db_transaction() def content_fossology_license_get(self, ids, db=None, cur=None): """Retrieve licenses per id.