From 27c3a551db8871f52976f4ce58bb20c6c846e090 Mon Sep 17 00:00:00 2001 From: Matthias Dellweg Date: Fri, 13 Sep 2024 14:44:31 +0200 Subject: [PATCH] Revert "fixup! Add sha256 uniqueness to CollectionVersion" This reverts commit d6c27284f5ecad16ae58fc6fcf2257d1d5229e2f. --- pulp_ansible/app/tasks/collections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulp_ansible/app/tasks/collections.py b/pulp_ansible/app/tasks/collections.py index 9617cb570..ebf59d922 100644 --- a/pulp_ansible/app/tasks/collections.py +++ b/pulp_ansible/app/tasks/collections.py @@ -122,7 +122,7 @@ async def declarative_content_from_git_repo(remote, url, git_ref=None, metadata_ artifact = metadata["artifact"] try: - with transaction.atomic(): + with transaction.atomic: collection_version = await sync_to_async(create_collection_from_importer)( metadata, metadata_only=metadata_only )