[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication - ZopePublication.py:1.4
Jim Fulton
jim@zope.com
Tue, 18 Jun 2002 10:47:36 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication
In directory cvs.zope.org:/tmp/cvs-serv6342/lib/python/Zope/App/ZopePublication
Modified Files:
ZopePublication.py
Log Message:
Renamed request getResponse method to read-only response property.
=== Zope3/lib/python/Zope/App/ZopePublication/ZopePublication.py 1.3 => 1.4 ===
id = sm.getPrincipal()
prin_reg.unauthorized(id, request) # May issue challenge
- request.getResponse().handleException(exc_info)
+ request.response.handleException(exc_info)
return
@@ -158,7 +158,7 @@
# Let the response handle it as best it can.
# XXX Is this what we want in the long term?
- response = request.getResponse()
+ response = request.response
response.handleException(exc_info)
return
finally: