Commit 23e98680 authored by Tres Seaver's avatar Tres Seaver

Deprecate import of 'initializeClass' from here.

parent 01382676
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
$Id$ $Id$
""" """
from zope.deferredimport import deprecated
deprecated("Please import InitializeClass from App.class_init",
initializeClass = 'App.class_init:InitializeClass',
)
from zope.component import getUtility from zope.component import getUtility
from zope.component import queryUtility from zope.component import queryUtility
from zope.interface import classProvides from zope.interface import classProvides
...@@ -26,7 +32,6 @@ from zope.security.interfaces import IPermission ...@@ -26,7 +32,6 @@ from zope.security.interfaces import IPermission
from zope.security.management import thread_local from zope.security.management import thread_local
from zope.security.simplepolicies import ParanoidSecurityPolicy from zope.security.simplepolicies import ParanoidSecurityPolicy
from App.class_init import InitializeClass as initializeClass
from AccessControl.SecurityInfo import ClassSecurityInfo from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager from AccessControl.SecurityManagement import getSecurityManager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment