[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/container/dependency.py Merged from ZopeX3-3.0 branch:

Jim Fulton jim at zope.com
Fri Aug 13 16:31:48 EDT 2004


Log message for revision 27132:
  Merged from ZopeX3-3.0 branch:
  
    r27109 | jim | 2004-08-13 11:46:07 -0400 (Fri, 13 Aug 2004) | 2 lines
  
  Added an explanation for calling removeAllProxies
  


Changed:
  U   Zope3/trunk/src/zope/app/container/dependency.py


-=-
Modified: Zope3/trunk/src/zope/app/container/dependency.py
===================================================================
--- Zope3/trunk/src/zope/app/container/dependency.py	2004-08-13 20:31:06 UTC (rev 27131)
+++ Zope3/trunk/src/zope/app/container/dependency.py	2004-08-13 20:31:47 UTC (rev 27132)
@@ -22,6 +22,11 @@
 from zope.proxy import removeAllProxies
 
 def CheckDependency(event):
+
+    # We have to remove the proxies here to be able to get at
+    # annotations. Perhaps this should be a trusted subscriber, but we
+    # don't have those yet.
+
     object = removeAllProxies(event.object)
     dependency = IDependable(object, None)
     if dependency is not None:



More information about the Zope3-Checkins mailing list