From 3b31ac1602b3e76cdd889ca24d351177c8b7d155 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sun, 28 Nov 2010 12:01:27 +0000 Subject: [PATCH] Always import ObjectCreatedEvent from zope.lifecycleevent. svn path=/plone.app.discussion/trunk/; revision=46006 --- plone/app/discussion/conversation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plone/app/discussion/conversation.py b/plone/app/discussion/conversation.py index 52936dd..a9045f5 100644 --- a/plone/app/discussion/conversation.py +++ b/plone/app/discussion/conversation.py @@ -38,10 +38,11 @@ from Products.CMFPlone.interfaces import IPloneSiteRoot, INonStructuralFolder from zope.container.contained import ContainerModifiedEvent +from zope.lifecycleevent import ObjectCreatedEvent + try: # Plone 4 from zope.lifecycleevent import ObjectAddedEvent - from zope.lifecycleevent import ObjectCreatedEvent from zope.lifecycleevent import ObjectRemovedEvent except ImportError: # pragma: no cover # Plone 3.x