[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/app/component/back35.py
Make the ++registration++ namespace generate deprecation warnings.
Jim Fulton
jim at zope.com
Tue Apr 18 19:56:17 EDT 2006
Log message for revision 67101:
Make the ++registration++ namespace generate deprecation warnings.
Changed:
U Zope3/branches/jim-adapter/src/zope/app/component/back35.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/component/back35.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/component/back35.py 2006-04-18 23:56:14 UTC (rev 67100)
+++ Zope3/branches/jim-adapter/src/zope/app/component/back35.py 2006-04-18 23:56:16 UTC (rev 67101)
@@ -589,6 +589,9 @@
def __init__(self, ob, request=None):
self.context = ob.registrationManager
+ @zope.deprecation.deprecate(
+ "++registration++ namespace is deprecated and will go away in Zope 3.5"
+ )
def traverse(self, name, ignore):
if name == '':
return self.context
More information about the Zope3-Checkins
mailing list