[Zope3-checkins] CVS: Zope3/src/zope/fssync/server - syncer.py:1.2
Jim Fulton
jim at zope.com
Fri Mar 5 17:09:57 EST 2004
Update of /cvs-repository/Zope3/src/zope/fssync/server
In directory cvs.zope.org:/tmp/cvs-serv15449/src/zope/fssync/server
Modified Files:
syncer.py
Log Message:
Renamed interface methods:
isImplementedByInstancesOf to implementedBy
isImplementedBy to providedBy
=== Zope3/src/zope/fssync/server/syncer.py 1.1 => 1.2 ===
--- Zope3/src/zope/fssync/server/syncer.py:1.1 Tue Jan 13 17:28:47 2004
+++ Zope3/src/zope/fssync/server/syncer.py Fri Mar 5 17:09:26 2004
@@ -108,13 +108,13 @@
mdannotations)
# Handle data
- if IObjectFile.isImplementedBy(adapter):
+ if IObjectFile.providedBy(adapter):
# File
- assert not IObjectDirectory.isImplementedBy(adapter)
+ assert not IObjectDirectory.providedBy(adapter)
writeFile(adapter.getBody(), path)
else:
# Directory
- assert IObjectDirectory.isImplementedBy(adapter)
+ assert IObjectDirectory.providedBy(adapter)
if not os.path.exists(path):
os.mkdir(path)
mdmanager = self._metadata.getmanager(path)
More information about the Zope3-Checkins
mailing list