From 75e0822db7f9a3827fbe19ef6f34b7d7775673bc Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Fri, 2 Feb 2024 10:34:02 +0100 Subject: [PATCH] remove commit in upgrade-step (#239) --- CHANGES.rst | 3 ++- src/design/plone/contenttypes/upgrades/upgrades.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index a3a1e92b..1696e49f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changelog 6.1.12 (unreleased) ------------------- -- Nothing changed yet. +- Remove un-needed commit in upgrade-step. + [cekk] 6.1.11 (2024-01-29) diff --git a/src/design/plone/contenttypes/upgrades/upgrades.py b/src/design/plone/contenttypes/upgrades/upgrades.py index 709d931b..20eb5d7e 100644 --- a/src/design/plone/contenttypes/upgrades/upgrades.py +++ b/src/design/plone/contenttypes/upgrades/upgrades.py @@ -1576,8 +1576,6 @@ def update_pdc_with_pdc_desc(context): logger.info(f"Set pdc_desc for {pdc.absolute_url()}") pdc.value_punto_contatto = value_punto_contatto - - commit() logger.info("Ends of update")