[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - LocalSecurityMap.py:1.1.2.5 RegisteredObject.py:1.1.2.2
Jim Fulton
jim@zope.com
Mon, 4 Mar 2002 11:59:04 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv15730
Modified Files:
Tag: Zope-3x-branch
LocalSecurityMap.py RegisteredObject.py
Log Message:
Made the registries new-style objects so that we could protect their
inherited methods properly.
=== Zope3/lib/python/Zope/App/Security/LocalSecurityMap.py 1.1.2.4 => 1.1.2.5 ===
-class LocalSecurityMap:
+class LocalSecurityMap(object):
def __init__(self):
self._clear()
=== Zope3/lib/python/Zope/App/Security/RegisteredObject.py 1.1.2.1 => 1.1.2.2 ===
from Zope.App.Security.IRegisteredObject import IRegisteredObject
-class RegisteredObject:
+class RegisteredObject(object):
__implements__ = IRegisteredObject
def __init__(self, id, title, description):