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

R. Sean Bowman sean.bowman@acm.org
Fri, 7 Mar 2003 19:52:14 -0500


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

Modified Files:
	zopepublication.py 
Log Message:
change service names: Events -> EventDispatch, Subscription ->
EventSubscription, ErrorReports -> ErrorLogging


=== Zope3/src/zope/app/publication/zopepublication.py 1.20 => 1.21 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.20	Fri Mar  7 10:32:28 2003
+++ Zope3/src/zope/app/publication/zopepublication.py	Fri Mar  7 19:51:42 2003
@@ -17,7 +17,7 @@
 from zope.component import getService, queryView, queryDefaultViewName
 from zope.component import queryService, queryAdapter
 from zope.component.exceptions import ComponentLookupError
-from zope.app.services.servicenames import ErrorReports, Authentication
+from zope.app.services.servicenames import ErrorLogging, Authentication
 from zodb.interfaces import ConflictError
 
 from zope.publisher.publish import mapply
@@ -169,7 +169,7 @@
         # Record the error with the ErrorReportingService
         beginErrorHandlingTransaction(request, 'error reporting service')
         try:
-            errService = queryService(object, ErrorReports)
+            errService = queryService(object, ErrorLogging)
             if errService is not None:
                 errService.raising(exc_info, request)
             # It is important that an error in errService.raising
@@ -189,7 +189,7 @@
         except:
             tryToLogException(
                 'Error while reporting an error to the %s service' %
-                ErrorReports)
+                ErrorLogging)
             get_transaction().abort()