[Zope3-checkins] CVS: Zope3/lib/python/Zope/Publisher - Publish.py:1.6

Jim Fulton jim@zope.com
Wed, 23 Oct 2002 13:06:00 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher
In directory cvs.zope.org:/tmp/cvs-serv17411/lib/python/Zope/Publisher

Modified Files:
	Publish.py 
Log Message:
Fixed error reporting so that errors that occur during traversal can
be logged by the error reporting service.


=== Zope3/lib/python/Zope/Publisher/Publish.py 1.5 => 1.6 ===
--- Zope3/lib/python/Zope/Publisher/Publish.py:1.5	Wed Oct 23 12:00:20 2002
+++ Zope3/lib/python/Zope/Publisher/Publish.py	Wed Oct 23 13:05:59 2002
@@ -33,8 +33,8 @@
                         request.processInputs()
                         publication.beforeTraversal(request)
 
-                        root_object = publication.getApplication(request)
-                        object = request.traverse(root_object)
+                        object = publication.getApplication(request)
+                        object = request.traverse(object)
                         publication.afterTraversal(request, object)
 
                         result = publication.callObject(request, object)