[Checkins] SVN: zope.app.authentication/trunk/ Remove deprecated code.
Dan Korostelev
nadako at gmail.com
Mon Mar 9 11:51:26 EDT 2009
Log message for revision 97706:
Remove deprecated code.
Changed:
U zope.app.authentication/trunk/CHANGES.txt
U zope.app.authentication/trunk/src/zope/app/authentication/authentication.py
U zope.app.authentication/trunk/src/zope/app/authentication/configure.zcml
-=-
Modified: zope.app.authentication/trunk/CHANGES.txt
===================================================================
--- zope.app.authentication/trunk/CHANGES.txt 2009-03-09 15:49:22 UTC (rev 97705)
+++ zope.app.authentication/trunk/CHANGES.txt 2009-03-09 15:51:26 UTC (rev 97706)
@@ -5,7 +5,7 @@
3.5.1 (unreleased)
------------------
-* ...
+* Remove deprecated code.
3.5.0 (2009-03-06)
------------------
Modified: zope.app.authentication/trunk/src/zope/app/authentication/authentication.py
===================================================================
--- zope.app.authentication/trunk/src/zope/app/authentication/authentication.py 2009-03-09 15:49:22 UTC (rev 97705)
+++ zope.app.authentication/trunk/src/zope/app/authentication/authentication.py 2009-03-09 15:51:26 UTC (rev 97706)
@@ -40,16 +40,6 @@
super(PluggableAuthentication, self).__init__()
self.prefix = prefix
- @property
- def registrationManager(self):
- import warnings
- warnings.warn(
- "The registration manager is deprecated and will go away in "
- "Zope 3.5. Use the simpler registration api (registerUtility) "
- "instead.",
- DeprecationWarning, 2)
- return self.__parent__.registrationManager
-
def _plugins(self, names, interface):
for name in names:
plugin = self.get(name)
Modified: zope.app.authentication/trunk/src/zope/app/authentication/configure.zcml
===================================================================
--- zope.app.authentication/trunk/src/zope/app/authentication/configure.zcml 2009-03-09 15:49:22 UTC (rev 97705)
+++ zope.app.authentication/trunk/src/zope/app/authentication/configure.zcml 2009-03-09 15:51:26 UTC (rev 97706)
@@ -13,10 +13,6 @@
interface=".interfaces.IPluggableAuthentication"
set_schema=".interfaces.IPluggableAuthentication"
/>
- <require
- permission="zope.ManageServices"
- attributes="registrationManager"
- />
</class>
<adapter
More information about the Checkins
mailing list