[Zope3-checkins] CVS: Zope3/src/zope/app/security - _protections.py:1.6.4.1

Jim Fulton jim at zope.com
Fri Jan 9 17:24:20 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv25080/src/zope/app/security

Modified Files:
      Tag: zope3-zodb3-devel-branch
	_protections.py 
Log Message:
Checkpointing to the branch after beginning the process of removing
zodb 4 code. 

Lots of things are now broken. :)




=== Zope3/src/zope/app/security/_protections.py 1.6 => 1.6.4.1 ===
--- Zope3/src/zope/app/security/_protections.py:1.6	Fri Nov 21 12:11:00 2003
+++ Zope3/src/zope/app/security/_protections.py	Fri Jan  9 17:23:49 2004
@@ -101,13 +101,6 @@
                      )
                   )
 
-    # In Python 2.3 and up, PersistentMetaClass is just type.
-    # It causes an error to define a new checker for type.
-    from persistence import PersistentMetaClass
-    if PersistentMetaClass != type:
-        from zope.security.checker import _typeChecker
-        defineChecker(PersistentMetaClass, _typeChecker)
-
     # Make sure the message id gets never proxied
     from zope.i18n.messageid import MessageID
     defineChecker(MessageID, NoProxy)




More information about the Zope3-Checkins mailing list