From 58645183030332f23e4135a09163a0145644a288 Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Tue, 10 Sep 2024 10:00:41 +0200 Subject: [PATCH] MAINT: Fix typo in error message --- src/caoscrawler/crawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caoscrawler/crawl.py b/src/caoscrawler/crawl.py index c761d730..1064fbca 100644 --- a/src/caoscrawler/crawl.py +++ b/src/caoscrawler/crawl.py @@ -692,7 +692,7 @@ one with the entities that need to be updated and the other with entities to be upd_problems = [] if len(ins_problems) > 0 or len(upd_problems) > 0: raise ForbiddenTransaction( - "One or more Records that have a parent which is excluded from inserts or updates." + "One or more Records have a parent which is excluded from inserts or updates." f"\nRecords excluded from inserts have the following RecordTypes:\n" f"{[el.parents[0].name for el in ins_problems]}" f"\nRecords excluded from updates have the following RecordTypes:\n" -- GitLab