[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ServiceManager/Views/Browser - Bindings.py:1.1.2.6

Gary Poster garyposter@earthlink.net
Tue, 21 May 2002 09:44:39 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ServiceManager/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv25923/lib/python/Zope/App/OFS/ServiceManager/Views/Browser

Modified Files:
      Tag: Zope-3x-branch
	Bindings.py 
Log Message:
A few more bug fixes and tweaks to various event service and service manager files; a very rudimentary view for the event service (it doesn't show much information because not much information is available from the interfaces!).  The event service prototype should be ready for folks to play with a bit now.


=== Zope3/lib/python/Zope/App/OFS/ServiceManager/Views/Browser/Bindings.py 1.1.2.5 => 1.1.2.6 ===
 from Zope.ComponentArchitecture.ContextDependent import ContextDependent
 from Zope.ComponentArchitecture.Exceptions import ComponentLookupError
+from Zope.Proxy.ProxyIntrospection import removeAllProxies
 
 class Bindings(AttributePublisher, ContextDependent):
 
@@ -29,8 +30,8 @@
         """
         """
         context = self.getContext()
-        allServices = context.getServiceDefinitions()
-        localServices = context.objectItems()
+        allServices = removeAllProxies(context.getServiceDefinitions())
+        localServices = removeAllProxies(context.objectItems())
         services = []
         for serviceName, service in allServices:
             serviceMap={}