[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser - LoadedFolderContents.py:1.3
Jim Fulton
jim@zope.com
Tue, 18 Jun 2002 10:47:34 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv6342/lib/python/Zope/App/OFS/Content/Folder/Views/Browser
Modified Files:
LoadedFolderContents.py
Log Message:
Renamed request getResponse method to read-only response property.
=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/LoadedFolderContents.py 1.2 => 1.3 ===
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.getURL(1))
+ REQUEST.response.redirect(REQUEST.getURL(1))
def moveObjectsDown(self, ids, REQUEST = None):
@@ -43,7 +43,7 @@
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.getURL(1))
+ REQUEST.response.redirect(REQUEST.getURL(1))
def moveObjectsToTop(self, ids, REQUEST = None):
@@ -52,7 +52,7 @@
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.getURL(1))
+ REQUEST.response.redirect(REQUEST.getURL(1))
def moveObjectsToBottom(self, ids, REQUEST = None):
@@ -61,6 +61,6 @@
if REQUEST is not None:
# for unit tests
- REQUEST.getResponse().redirect(REQUEST.getURL(1))
+ REQUEST.response.redirect(REQUEST.getURL(1))