[Zope3-checkins] CVS: Zope3/src/zope/app/publication - zopepublication.py:1.23
Marius Gedminas
mgedmin@codeworks.lt
Thu, 20 Mar 2003 07:09:31 -0500
Update of /cvs-repository/Zope3/src/zope/app/publication
In directory cvs.zope.org:/tmp/cvs-serv7357/src/zope/app/publication
Modified Files:
zopepublication.py
Log Message:
Fixed broken local authentication in ZopePublication: IServiceManager has no
'get' method, use 'queryService' instead.
=== Zope3/src/zope/app/publication/zopepublication.py 1.22 => 1.23 ===
--- Zope3/src/zope/app/publication/zopepublication.py:1.22 Thu Mar 13 11:28:17 2003
+++ Zope3/src/zope/app/publication/zopepublication.py Thu Mar 20 07:09:01 2003
@@ -92,7 +92,7 @@
sm = ContextWrapper(sm, ob, name="++etc++Services")
- auth_service = sm.get(Authentication)
+ auth_service = sm.queryService(Authentication)
if auth_service is None:
# No auth service here
return