[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/Five/security.py Deprecate import of 'initializeClass' from here.
Tres Seaver
tseaver at palladion.com
Sun Jan 4 14:33:32 EST 2009
Log message for revision 94504:
Deprecate import of 'initializeClass' from here.
Changed:
U Zope/trunk/lib/python/Products/Five/security.py
-=-
Modified: Zope/trunk/lib/python/Products/Five/security.py
===================================================================
--- Zope/trunk/lib/python/Products/Five/security.py 2009-01-04 19:33:01 UTC (rev 94503)
+++ Zope/trunk/lib/python/Products/Five/security.py 2009-01-04 19:33:32 UTC (rev 94504)
@@ -15,6 +15,12 @@
$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 queryUtility
from zope.interface import classProvides
@@ -26,7 +32,6 @@
from zope.security.management import thread_local
from zope.security.simplepolicies import ParanoidSecurityPolicy
-from App.class_init import InitializeClass as initializeClass
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
More information about the Zope-Checkins
mailing list