typo: renamed 'annotions' to 'annotations'
This commit is contained in:
parent
34bbd39829
commit
645bbb0a95
@ -306,12 +306,12 @@ def conversationAdapterFactory(content):
|
|||||||
"""
|
"""
|
||||||
Adapter factory to fetch the default conversation from annotations.
|
Adapter factory to fetch the default conversation from annotations.
|
||||||
"""
|
"""
|
||||||
annotions = IAnnotations(content)
|
annotations = IAnnotations(content)
|
||||||
if not ANNOTATION_KEY in annotions:
|
if not ANNOTATION_KEY in annotations:
|
||||||
conversation = Conversation()
|
conversation = Conversation()
|
||||||
conversation.__parent__ = aq_base(content)
|
conversation.__parent__ = aq_base(content)
|
||||||
else:
|
else:
|
||||||
conversation = annotions[ANNOTATION_KEY]
|
conversation = annotations[ANNOTATION_KEY]
|
||||||
return conversation.__of__(content)
|
return conversation.__of__(content)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user