[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/introspector/__init__.py
restore a removeSecurityProxy() call (was removeAllProxies()
originally)
Fred L. Drake, Jr.
fdrake at gmail.com
Fri Sep 10 11:54:15 EDT 2004
Log message for revision 27492:
restore a removeSecurityProxy() call (was removeAllProxies() originally)
to make the introspector show the list of interfaces directly provided by
objects
Changed:
U Zope3/trunk/src/zope/app/introspector/__init__.py
-=-
Modified: Zope3/trunk/src/zope/app/introspector/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/introspector/__init__.py 2004-09-10 15:42:06 UTC (rev 27491)
+++ Zope3/trunk/src/zope/app/introspector/__init__.py 2004-09-10 15:54:15 UTC (rev 27492)
@@ -145,7 +145,7 @@
def getDirectlyProvided(self):
"""See `IIntrospector`"""
- return directlyProvidedBy(self.context)
+ return directlyProvidedBy(removeSecurityProxy(self.context))
def getDirectlyProvidedNames(self):
"""See `IIntrospector`"""
More information about the Zope3-Checkins
mailing list