typo: renamed 'annotions' to 'annotations'

This commit is contained in:
Jens W. Klein 2013-08-26 14:49:26 +02:00
parent 34bbd39829
commit 645bbb0a95

View File

@ -306,12 +306,12 @@ def conversationAdapterFactory(content):
"""
Adapter factory to fetch the default conversation from annotations.
"""
annotions = IAnnotations(content)
if not ANNOTATION_KEY in annotions:
annotations = IAnnotations(content)
if not ANNOTATION_KEY in annotations:
conversation = Conversation()
conversation.__parent__ = aq_base(content)
else:
conversation = annotions[ANNOTATION_KEY]
conversation = annotations[ANNOTATION_KEY]
return conversation.__of__(content)