[Zope3-checkins] CVS: Zope3/src/zope/app/wiki - configure.zcml:1.10 wikipage.py:1.8

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 15 08:11:28 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/wiki
In directory cvs.zope.org:/tmp/cvs-serv12586/src/zope/app/wiki

Modified Files:
	configure.zcml wikipage.py 
Log Message:


Adjust package paths to new location of file representation interfaces.




=== Zope3/src/zope/app/wiki/configure.zcml 1.9 => 1.10 ===
--- Zope3/src/zope/app/wiki/configure.zcml:1.9	Sat Mar 13 18:01:14 2004
+++ Zope3/src/zope/app/wiki/configure.zcml	Mon Mar 15 08:10:54 2004
@@ -182,14 +182,14 @@
   <!-- WikiPage FTP configurations -->
   <adapter 
      for=".interfaces.IWikiPage"
-     provides="zope.app.interfaces.file.IReadFile"
+     provides="zope.app.filerepresentation.interfaces.IReadFile"
      factory=".wikipage.WikiPageReadFile"
      permission="zope.app.wiki.ViewWikiPage"
      />
 
   <adapter 
      for=".interfaces.IWikiPage"
-     provides="zope.app.interfaces.file.IWriteFile"
+     provides="zope.app.filerepresentation.interfaces.IWriteFile"
      factory=".wikipage.WikiPageWriteFile"
      permission="zope.app.wiki.EditWikiPage"
      />


=== Zope3/src/zope/app/wiki/wikipage.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/wiki/wikipage.py:1.7	Sat Mar 13 18:01:14 2004
+++ Zope3/src/zope/app/wiki/wikipage.py	Mon Mar 15 08:10:54 2004
@@ -23,7 +23,7 @@
 from zope.app import zapi
 from zope.app.container.btree import BTreeContainer
 from zope.app.dublincore.interfaces import ICMFDublinCore
-from zope.app.interfaces.file import IReadFile, IWriteFile
+from zope.app.filerepresentation.interfaces import IReadFile, IWriteFile
 from zope.app.annotation.interfaces import IAnnotations
 from zope.app.event.interfaces import ISubscriber, IObjectModifiedEvent
 from zope.app.container.interfaces import \
@@ -144,11 +144,11 @@
         self.context = context
 
     def read(self):
-        """See zope.app.interfaces.file.IReadFile"""
+        """See zope.app.filerepresentation.interfaces.IReadFile"""
         return self.context.source
 
     def size(self):
-        """See zope.app.interfaces.file.IReadFile"""
+        """See zope.app.filerepresentation.interfaces.IReadFile"""
         return len(self.context.source)
 
 
@@ -162,7 +162,7 @@
         self.context = context
 
     def write(self, data):
-        """See zope.app.interfaces.file.IWriteFile"""
+        """See zope.app.filerepresentation.interfaces.IWriteFile"""
         self.context.source = unicode(data)
 
 




More information about the Zope3-Checkins mailing list