[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.py
- changed comment slightly to make it sound less like it
requires an action.
Christian Theune
ct at gocept.com
Wed Jan 10 04:37:48 EST 2007
Log message for revision 71852:
- changed comment slightly to make it sound less like it requires an action.
Changed:
U Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.py
-=-
Modified: Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.py
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.py 2007-01-09 23:43:59 UTC (rev 71851)
+++ Zope3/trunk/src/zope/app/apidoc/codemodule/browser/introspector.py 2007-01-10 09:37:44 UTC (rev 71852)
@@ -46,8 +46,8 @@
self.context = ob
def traverse(self, name, ignore):
- # XXX This is pretty unsafe, so this should really just be available in
- # devmode.
+ # This is pretty unsafe and one of the reasons why the introspector is
+ # only available in dev-mode.
naked = zope.security.proxy.removeSecurityProxy(self.context)
annotations = annotation.interfaces.IAnnotations(naked)
obj = name and annotations[name] or annotations
More information about the Zope3-Checkins
mailing list