[Zope3-checkins] CVS: Zope3/src/zope/app/publication - zopepublication.py:1.13
R. Sean Bowman
sean.bowman@acm.org
Thu, 6 Feb 2003 01:50:39 -0500
Update of /cvs-repository/Zope3/src/zope/app/publication
In directory cvs.zope.org:/tmp/cvs-serv18167/zope/app/publication
Modified Files:
zopepublication.py
Log Message:
finished changing service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports and Resources to ResourceService
=== Zope3/src/zope/app/publication/zopepublication.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.12 Wed Feb 5 23:30:51 2003
+++ Zope3/src/zope/app/publication/zopepublication.py Thu Feb 6 01:49:36 2003
@@ -17,7 +17,7 @@
from zope.component import getService, getView, getDefaultViewName
from zope.component import queryService, getAdapter
from zope.component.exceptions import ComponentLookupError
-from zope.component.servicenames import ErrorReports
+from zope.component.servicenames import ErrorReports, Authentication
from zodb.interfaces import ConflictError
from zope.publisher.publish import mapply
@@ -93,7 +93,7 @@
sm = ContextWrapper(sm, ob, name="++etc++Services")
- auth_service = sm.get('Authentication')
+ auth_service = sm.get(Authentication)
if auth_service is None:
# No auth service here
return