Log message for revision 110785:
  Acquisition is an even harsher mistress now that we have __parent__

Changed:
  U   Zope/branches/2.12/src/Zope2/App/startup.py

-=-
Modified: Zope/branches/2.12/src/Zope2/App/startup.py
===================================================================
--- Zope/branches/2.12/src/Zope2/App/startup.py 2010-04-13 12:36:47 UTC (rev 
110784)
+++ Zope/branches/2.12/src/Zope2/App/startup.py 2010-04-13 12:43:06 UTC (rev 
110785)
@@ -211,6 +211,8 @@
             if view is not None:
                 if IAcquirer.providedBy(view) and 
IAcquirer.providedBy(published):
                     view = view.__of__(published)
+                else:
+                    view.__parent__ = published
                 v = view()
                 response = REQUEST.RESPONSE
                 response.setStatus(t)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to