Merge pull request #153 from plone/jensens/fix-depreactionwarning
fix import with deprecation warning
This commit is contained in:
commit
e22f5c4119
1
news/153.bugfix
Normal file
1
news/153.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fixed DeprecationWarning for ObjectEvent. [jensens]
|
@ -6,10 +6,10 @@ from Products.CMFCore.interfaces import ISiteRoot
|
|||||||
from Products.CMFCore.utils import getToolByName
|
from Products.CMFCore.utils import getToolByName
|
||||||
from zope import schema
|
from zope import schema
|
||||||
from zope.component import getUtility
|
from zope.component import getUtility
|
||||||
from zope.component.interfaces import IObjectEvent
|
|
||||||
from zope.interface import Interface
|
from zope.interface import Interface
|
||||||
from zope.interface import Invalid
|
from zope.interface import Invalid
|
||||||
from zope.interface.common.mapping import IIterableMapping
|
from zope.interface.common.mapping import IIterableMapping
|
||||||
|
from zope.interface.interfaces import IObjectEvent
|
||||||
|
|
||||||
|
|
||||||
def isEmail(value):
|
def isEmail(value):
|
||||||
|
Loading…
Reference in New Issue
Block a user