[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - Adder.py:1.3 Contents.py:1.4
Jim Fulton
jim@zope.com
Tue, 18 Jun 2002 10:47:33 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv6342/lib/python/Zope/App/OFS/Container/Views/Browser
Modified Files:
Adder.py Contents.py
Log Message:
Renamed request getResponse method to read-only response property.
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Adder.py 1.2 => 1.3 ===
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.URL[-1])
+ REQUEST.response.redirect(REQUEST.URL[-1])
return self.confirmed( type_name=type_name, id=id )
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Contents.py 1.3 => 1.4 ===
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.URL['-1'])
+ REQUEST.response.redirect(REQUEST.URL['-1'])
return self.confirmRemoved()