[Zope3-checkins] CVS: Zope3/src/zope/app/services - configuration.py:1.20.2.1

Steve Alexander steve@cat-box.net
Tue, 1 Apr 2003 14:53:36 -0500


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

Modified Files:
      Tag: stevea-contextaware_in_c-branch
	configuration.py 
Log Message:
Initial checkin of context wrappers that are context aware, written in C.


=== Zope3/src/zope/app/services/configuration.py 1.20 => 1.20.2.1 ===
--- Zope3/src/zope/app/services/configuration.py:1.20	Mon Mar 24 06:09:39 2003
+++ Zope3/src/zope/app/services/configuration.py	Tue Apr  1 14:53:05 2003
@@ -47,14 +47,12 @@
 from zope.component import getAdapter
 from zope.component import getService, queryService, getServiceManager
 from zope.proxy.context import ContextMethod, ContextWrapper
+from zope.proxy.context import ContextDescriptor
 from zope.proxy.introspection import removeAllProxies
 from zope.security.checker import InterfaceChecker
 from zope.security.proxy import Proxy
 
-class ConfigurationStatusProperty:
-
-    __Zope_ContextWrapper_contextful_get__ = True
-    __Zope_ContextWrapper_contextful_set__ = True
+class ConfigurationStatusProperty(ContextDescriptor):
 
     def __init__(self, service):
         self.service = service