[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - menu.py:1.9

Jim Fulton jim at zope.com
Sat Mar 6 12:49:17 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv21993/src/zope/app/browser/services

Modified Files:
	menu.py 
Log Message:
Changed most calls to queryAdapter to use interface calls instead.


=== Zope3/src/zope/app/browser/services/menu.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/services/menu.py:1.8	Mon Mar  1 10:02:47 2004
+++ Zope3/src/zope/app/browser/services/menu.py	Sat Mar  6 12:48:46 2004
@@ -35,7 +35,7 @@
         info['title'] = obj.title
         info['action'] = obj.action
 
-        dc = zapi.queryAdapter(obj, IZopeDublinCore)
+        dc = IZopeDublinCore(obj, None)
         if dc is not None:
 
             formatter = self.request.locale.dates.getFormatter(




More information about the Zope3-Checkins mailing list