From d8ca33937c51e8e2b8963ffed787615fa1ab1a7f Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Tue, 3 Oct 2023 16:42:37 +0200 Subject: [PATCH] chore: typos --- plone/app/discussion/conversation.py | 6 +++--- plone/app/discussion/design.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plone/app/discussion/conversation.py b/plone/app/discussion/conversation.py index 9292e3fd..abb35c51 100644 --- a/plone/app/discussion/conversation.py +++ b/plone/app/discussion/conversation.py @@ -180,9 +180,9 @@ def addComment(self, comment): self._children[reply_to].insert(id) # Add the annotation if not already done - annotions = IAnnotations(self.__parent__) - if ANNOTATION_KEY not in annotions: - annotions[ANNOTATION_KEY] = aq_base(self) + annotations = IAnnotations(self.__parent__) + if ANNOTATION_KEY not in annotations: + annotations[ANNOTATION_KEY] = aq_base(self) # Notify that the object is added. The object must here be # acquisition wrapped or the indexing will fail. diff --git a/plone/app/discussion/design.txt b/plone/app/discussion/design.txt index 4e76c1d4..11c75bd0 100644 --- a/plone/app/discussion/design.txt +++ b/plone/app/discussion/design.txt @@ -104,7 +104,7 @@ can be generated from this as well, using the helper class in plone.app.registry. Note that some settings, notably those to do with permissions and workflow, -will need to be wired up as custom form fields with custom data mangers +will need to be wired up as custom form fields with custom data managers or similar. Workflow and permissions