[Zope3-checkins]
SVN: Zope3/branches/srichter-blow-services/src/zope/app/zapi/__init__.py
Removed some XXX by creating BBB statement.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Feb 12 21:49:24 EST 2005
Log message for revision 29131:
Removed some XXX by creating BBB statement.
Changed:
U Zope3/branches/srichter-blow-services/src/zope/app/zapi/__init__.py
-=-
Modified: Zope3/branches/srichter-blow-services/src/zope/app/zapi/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/zapi/__init__.py 2005-02-13 02:48:50 UTC (rev 29130)
+++ Zope3/branches/srichter-blow-services/src/zope/app/zapi/__init__.py 2005-02-13 02:49:24 UTC (rev 29131)
@@ -19,12 +19,10 @@
"""
from interfaces import IZAPI
from zope.interface import moduleProvides
+from zope.deprecation import deprecated
from zope.security.proxy import isinstance
-# XXX: Deprecate
-from zope.app import servicenames
-
from zope.app.interface import queryType
moduleProvides(IZAPI)
@@ -44,3 +42,9 @@
from zope.app.security.interfaces import IAuthentication
return getUtility(IAuthentication)
+# BBB: Gone in 3.3.
+from zope.app import servicenames
+
+deprecated('servicenames',
+ 'The concept of services has been removed. Please use utilities '
+ 'instead. This reference will be removed in Zope X3.3.')
More information about the Zope3-Checkins
mailing list