fix import with deprecation warning
This commit is contained in:
parent
bc42fb2d9a
commit
df09fc2d59
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