[Zope3-checkins] CVS: Zope3/src/zope/security - checker.py:1.29
Jim Fulton
jim@zope.com
Wed, 4 Jun 2003 18:25:01 -0400
Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv26183/src/zope/security
Modified Files:
checker.py
Log Message:
Made interface specifications picklable. This is necessary to deal
with interface assertions on instances and will be needed for
interface assertions on persistent classes.
=== Zope3/src/zope/security/checker.py 1.28 => 1.29 ===
--- Zope3/src/zope/security/checker.py:1.28 Mon Jun 2 13:43:03 2003
+++ Zope3/src/zope/security/checker.py Wed Jun 4 18:25:00 2003
@@ -24,7 +24,7 @@
from zope.interface.interfaces import IInterface, IInterfaceSpecification
from zope.interface.declarations import ObjectSpecification
from zope.interface.declarations import ProvidesSpecification
-from zope.interface.declarations import OnlyImplementsSpecification
+from zope.interface.declarations import ImplementsOnlySpecification
from zope.interface.declarations import ImplementsSpecification
from zope.interface.declarations import InterfaceSpecification
from zope.security.interfaces import IChecker
@@ -679,7 +679,7 @@
ObjectSpecification: _InterfaceSpecification_checker,
ProvidesSpecification: _InterfaceSpecification_checker,
ImplementsSpecification: _InterfaceSpecification_checker,
- OnlyImplementsSpecification: _InterfaceSpecification_checker,
+ ImplementsOnlySpecification: _InterfaceSpecification_checker,
InterfaceSpecification: _InterfaceSpecification_checker,
}