[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/__init__.py
restore a removeSecurityProxy() call (was removeAllProxies()
originally)
Fred L. Drake, Jr.
fdrake at gmail.com
Fri Sep 10 12:04:51 EDT 2004
Log message for revision 27493:
restore a removeSecurityProxy() call (was removeAllProxies() originally)
to make the introspector show the list of interfaces directly provided by
objects
(merged from Zope 3 trunk revision 27492)
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/__init__.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/__init__.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/__init__.py 2004-09-10 15:54:15 UTC (rev 27492)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/introspector/__init__.py 2004-09-10 16:04:51 UTC (rev 27493)
@@ -141,7 +141,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