[Checkins] SVN: zope.file/branches/ajung-blobs/src/zope/file/ adapters no longer needed

Andreas Jung andreas at andreas-jung.com
Mon Feb 26 13:37:34 EST 2007


Log message for revision 72832:
  adapters no longer needed
  

Changed:
  U   zope.file/branches/ajung-blobs/src/zope/file/adapters.py
  U   zope.file/branches/ajung-blobs/src/zope/file/configure.zcml

-=-
Modified: zope.file/branches/ajung-blobs/src/zope/file/adapters.py
===================================================================
--- zope.file/branches/ajung-blobs/src/zope/file/adapters.py	2007-02-26 18:20:18 UTC (rev 72831)
+++ zope.file/branches/ajung-blobs/src/zope/file/adapters.py	2007-02-26 18:37:33 UTC (rev 72832)
@@ -38,6 +38,7 @@
         self.context = context
 
     def write(self, data):
+        import pdb; pdb.set_trace() 
         f = self.context.open('w')
         f.write(data)
         f.close()

Modified: zope.file/branches/ajung-blobs/src/zope/file/configure.zcml
===================================================================
--- zope.file/branches/ajung-blobs/src/zope/file/configure.zcml	2007-02-26 18:20:18 UTC (rev 72831)
+++ zope.file/branches/ajung-blobs/src/zope/file/configure.zcml	2007-02-26 18:37:33 UTC (rev 72832)
@@ -26,8 +26,6 @@
   </class>
 
   <adapter factory=".browser.Sized"/>
-  <adapter factory=".adapters.ReadFileAdapter" />
-  <adapter factory=".adapters.WriteFileAdapter" />
 
   <class class="ZODB.Blobs.Blob.BlobFile">
     <require



More information about the Checkins mailing list