[Zope3-checkins] CVS: Zope3/src/zope/app/fssync - syncer.py:1.34
Jim Fulton
jim at zope.com
Sat Mar 6 12:49:20 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/fssync
In directory cvs.zope.org:/tmp/cvs-serv21993/src/zope/app/fssync
Modified Files:
syncer.py
Log Message:
Changed most calls to queryAdapter to use interface calls instead.
=== Zope3/src/zope/app/fssync/syncer.py 1.33 => 1.34 ===
--- Zope3/src/zope/app/fssync/syncer.py:1.33 Wed Jan 14 13:32:49 2004
+++ Zope3/src/zope/app/fssync/syncer.py Sat Mar 6 12:48:49 2004
@@ -16,7 +16,7 @@
$Id$
"""
-from zope.component import getService, queryAdapter
+from zope.component import getService
from zope.fssync.server.syncer import Syncer
from zope.app.interfaces.annotation import IAnnotations
@@ -31,7 +31,7 @@
return syncService.getSynchronizer(obj)
def getAnnotations(obj):
- return queryAdapter(obj, IAnnotations)
+ return IAnnotations(obj, None)
def toFS(obj, name, location):
More information about the Zope3-Checkins
mailing list