[Zope3-checkins] CVS: Zope3/src/zope/app/publication - zopepublication.py:1.26

Viktorija Zaksiene ryzaja@codeworks.lt
Fri, 25 Apr 2003 06:35:49 -0400


Update of /cvs-repository/Zope3/src/zope/app/publication
In directory cvs.zope.org:/tmp/cvs-serv10979

Modified Files:
	zopepublication.py 
Log Message:
Reset response state on exception views.


=== Zope3/src/zope/app/publication/zopepublication.py 1.25 => 1.26 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.25	Tue Apr  8 15:01:59 2003
+++ Zope3/src/zope/app/publication/zopepublication.py	Fri Apr 25 06:35:18 2003
@@ -214,6 +214,7 @@
         self._logErrorWithErrorReportingService(object, request, exc_info)
 
         response = request.response
+        response.reset()
         exception = None
         legacy_exception = not isinstance(exc_info[1], Exception)
         if legacy_exception: