fix import with deprecation warning

This commit is contained in:
Jens W. Klein 2019-04-12 11:40:53 +02:00
parent bc42fb2d9a
commit df09fc2d59
2 changed files with 2 additions and 1 deletions

1
news/153.bugfix Normal file
View File

@ -0,0 +1 @@
Fixed DeprecationWarning for ObjectEvent. [jensens]

View File

@ -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):