Skip to content

Commit

Permalink
Merge pull request #207 from collective/savepoint
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer authored Jun 14, 2023
2 parents 1f80f32 + 6579c13 commit 624a0bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collective/exportimport/import_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def import_new_content(self, data): # noqa: C901

if not index % 100:
logger.info("Imported {} items...".format(index))
transaction.savepoint()

new_id = unquote(item["@id"]).split("/")[-1]
if new_id != item["id"]:
Expand Down

0 comments on commit 624a0bd

Please sign in to comment.