diff --git a/news/153.bugfix b/news/153.bugfix new file mode 100644 index 0000000..bf2a486 --- /dev/null +++ b/news/153.bugfix @@ -0,0 +1 @@ +Fixed DeprecationWarning for ObjectEvent. [jensens] \ No newline at end of file diff --git a/plone/app/discussion/interfaces.py b/plone/app/discussion/interfaces.py index c7f343e..d7065e8 100644 --- a/plone/app/discussion/interfaces.py +++ b/plone/app/discussion/interfaces.py @@ -6,10 +6,10 @@ from Products.CMFCore.interfaces import ISiteRoot from Products.CMFCore.utils import getToolByName from zope import schema from zope.component import getUtility -from zope.component.interfaces import IObjectEvent from zope.interface import Interface from zope.interface import Invalid from zope.interface.common.mapping import IIterableMapping +from zope.interface.interfaces import IObjectEvent def isEmail(value):