From 11b25579677e5d193abbee7bb0716a34d7ca9db0 Mon Sep 17 00:00:00 2001 From: kthoden Date: Fri, 9 Jul 2021 11:18:31 +0200 Subject: [PATCH] Improve precision of wording --- src/imxml2django.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imxml2django.py b/src/imxml2django.py index 8396c08..82eb8f4 100755 --- a/src/imxml2django.py +++ b/src/imxml2django.py @@ -1919,7 +1919,7 @@ def bring_footnote_down_django(footnote, fragment, footnote_number, object_numbe corresponding_attribute = pc.get("corresp")[1:] corresponding_paragraph = xmlDjangoTree.xpath("//EOAparagraph[@xml:id='{}']".format(corresponding_attribute)) if len(corresponding_paragraph) == 0: - logging.error("There seems to be no corresponding xml:id for %s. Exiting." % corresponding_attribute) + logging.error("There is no corresponding xml:id for %s. Exiting." % corresponding_attribute) sys.exit(1) elif len(corresponding_paragraph) > 1: logging.error("The xml:id %s has been assigned more than once. This is not allowed. Exiting." % corresponding_paragraph[0].attrib["{http://www.w3.org/XML/1998/namespace}id"])