[Zope-Checkins] SVN: Zope/branches/2.12/src/Zope2/App/startup.py Acquisition is an even harsher mistress now that we have __parent__
Wichert Akkerman
wichert at wiggy.net
Tue Apr 13 08:43:07 EDT 2010
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)
More information about the Zope-Checkins
mailing list