Merge pull request #153 from plone/jensens/fix-depreactionwarning

fix import with deprecation warning
This commit is contained in:
agitator 2019-04-12 14:53:36 +02:00 committed by GitHub
commit e22f5c4119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):