[Zope-CVS] CVS: Packages/JobBoardEx - JobView.py:1.8

Guido van Rossum guido@python.org
Tue, 26 Mar 2002 21:39:08 -0500


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv25336

Modified Files:
	JobView.py 
Log Message:
REQUEST.response becomes REQUEST.getResponse().


=== Packages/JobBoardEx/JobView.py 1.7 => 1.8 ===
 
     def cancel(self, REQUEST):
-        return REQUEST.response.redirect('..')
+        return REQUEST.getResponse().redirect('..')
 
     def submit(self, REQUEST):
         # Tricky: self.joblist is set by JobListTraverser
         joblist = self.joblist
         job = self.job
         joblist.add(job)
-        return REQUEST.response.redirect('..')
+        return REQUEST.getResponse().redirect('..')